Apple Support: “If your iPhone or accessory is wet”

Link. Managing the liquid warning and general wetness. Don’t use rice. (I like the drying agent packs – no rice particle problems.)