https://support.apple.com/en-us/HT207043
iPhone XS, iPhone XS Max, iPhone XR, iPhone X, iPhone 8, iPhone 8 Plus, iPhone 7, and iPhone 7 Plus are splash, water, and dust resistant and were tested under controlled laboratory conditions.
iPhone XS and iPhone XS Max have a rating of IP68 under IEC standard 60529 (maximum depth of 2 meters up to 30 minutes). iPhone XR, iPhone X, iPhone 8, iPhone 8 Plus, iPhone 7, and iPhone 7 Plus have a rating of IP67 under IEC standard 60529 (maximum depth of 1 meter up to 30 minutes). Splash, water, and dust resistance are not permanent conditions and resistance might decrease as a result of normal wear. Liquid damage is not covered under warranty, but you might have rights under consumer law.
iPhone XS, iPhone XS Max, and iPhone XR are resistant to accidental spills from common liquids, such as soda, beer, coffee, tea, and juice. In the event of a spill, rinse the affected area with tap water, then wipe your iPhone off and dry it.
To prevent liquid damage, avoid these:
- Swimming or bathing with your iPhone
- Exposing your iPhone to pressurized water or high velocity water, such as when showering, water skiing, wake boarding, surfing, jet skiing, and so on
- Using your iPhone in a sauna or steam room
- Intentionally submerging your iPhone in water
- Operating your iPhone outside the suggested temperature ranges or in extremely humid conditions
- Dropping your iPhone or subjecting it to other impacts
- Disassembling your iPhone, including removing screws
Minimize exposing your iPhone to soap, detergent, acids or acidic foods, and any liquids—for example, perfume, insect repellent, lotions, sunscreen, oil, adhesive remover, hair dye, and solvents. If your iPhone comes into contact with any of these substances, follow the instructions to clean your iPhone.