There are liquid sensors in the ports, and if a drop of water gets on them, they will turn red and Apple will refuse to honor your warranty. Apple claims the iPhone is waterproof to 6 meters for 30 minutes, but if you put your phone in one inch of water for one second, your warranty is void.