The iPhone 8 has a water resistance rating of IP68. It isn’t water-proof, but it can withstand being six metres underwater for a maximum of 30 metres.