How Do You Get Water Out Of Your Charging Port. If you want to get water out of your iPhone without rice here are plenty of methods including apps Siri shortcuts and more. Probably the issue is because of humidity in the atmosphere.

Do Not Blow Into Your Smartphone USB Port. Then blow it out with canned air if you can. If using compressed air make sure youre holding the can upright to avoid getting water inside the port.
Most of the time your Charging Port is the culprit as to why your iPhone is not charging.
If you charge your iPhone while the Lightning port is wet the pins on the Lightning port or the cable can corrode and cause permanent damage or stop functioning causing connectivity issues for your iPhone or accessory. Holding your iphone so the backside is facing up place the toothpick inside the charging port. It means the phone detects evaporating liquid inside the USB-C port. Since this is the most common issue that people face with their iPhones this is what we will be discussing first.
