How To Know If Your Phone Is Water Resistant. From the iPhone 7 onwards Apple has made iPhones at least a little water resistant. Know that no iPhone earlier than the iPhone 7 is water.

From the iPhone 7 onwards Apple has made iPhones at least a little water resistant. According to Apple that means all iPhone 12 models can be submerged in roughly 20 feet 6 meters of water for up to 30 minutes without being damaged. While the iPhone 12 is not waterproof it does have a water-resistance rating of IP68.
Liquid damage is not covered under warranty but you may have rights under consumer law.
Recent models of the Samsung Galaxy phone including the new S10 models are water-resistant to a degree but you should still use caution with these pricey devices. Adding water resistance may not just affect the costs of a device either but what its like to use. It sees the spike in pressure after pressing hard on screen and sees the variance in pressure to determine the state of your phone. However Apple states that the water resistance of the iPhone 12 will degrade over time.
