This is how Apple water tests its iPhones for IP rating and durability
Multiple videos show how Apple water tests its iPhone models to achieve the desired durability and IP Rating. It uses machines to throw high-pressure water and simulate rain using a drip tray.
Marques Brownlee John Ternus Self Service Engineering John Ternus Self Service Repair Apparently Apple
Source: neowin.net