Your iPhone will usually take around 24 hours to dry if you keep it in a dry place. Make sure you remove any excess liquid inside the lightning connector before leaving your iPhone in a dry place.