This is what Apple says about dipping the iPhone in rice if it has gotten wet

The trick of dipping an electronic device in rice when it has accidentally gotten wet is as well known as discussed. It has often been considered a myth or, at least, a overrated utility of this food. It is true that rice has hygroscopic particles that allow it to absorb moisture, but placing a mobile phone that has been wet in a closed bag of rice will only help. to dry it superficiallyits action not reaching the interior of all the components.

Apple has addressed this issue in a recent update to its iPhone support page explaining to do if an alert indicating that liquid has been detected in the USB-C connector appears on the screen.

The company expressly recommends don't resort to the rice trick to try to dry it faster. “Don't put your iPhone in a bag of rice. Doing so could allow small particles of rice to damage your iPhone”, he points out.

Other common methods to try to resolve these situations and that Apple advises against practicing are to use an external heat source, compressed air or inserting an objectsuch as a cotton swab or paper towel on the connector.

To dry one of its phones, Apple recommends “Gently tap your iPhone against your hand with the connector facing down to remove excess liquid. Leave your iPhone in a dry area with some airflow.”

Nor should it be charged before they have passed at least 30 minutes, although in some cases longer waiting times may be necessary before the terminal is completely dry and can operate safely. If this is the case, the mobile will show the liquid detection alert again.

According to Apple, an iPhone can take up to 24 hours to dry completely. And if, despite having completed the entire process, the device continues without enabling the USB-C connector again, you must disconnect the charger cable and it from the wall and reconnect them.