iOS 10 will warn for moisture in the Lightning connector (6s, 6s Plus, SE)27
Apple has apparently devised a plan to deliver us from such shocking scenarios (sorry, couldn't help it), by issuing warnings when there is moisture detected in your iPhone's Lightning connector. The feature has been introduced in the latest betas of iOS 10 and apparently only works with the iPhone 6s, 6s Plus and SE.
Last month, the USPTO granted Apple a patent for a liquid resistant “acoustic device”, which suggested that the company might be on track to add some ruggedness to its offerings in the future. The patent documents outlined waterproofing schemes not only for speakers, but for other “apertures in the device's housing” as well. Since we don't have the hardware yet to keep those pesky liquids out of our iPhones, we are going to assume that this software solution is the first small step in that direction.
source: EverythingApplePro (YouTube) via Engadget