Saltwater can cause more damage than freshwater. Rinse your iPhone with fresh water to remove any salt residue and then follow the steps mentioned earlier.