Some additional side notes:
1.) Rice does nothing. It’s a myth and always will be. Gel-Silica packets from shoeboxes are highly absorbent if you have them/can be bought online.
2.) Logic board damage/corrosion likely
from the salt water, if that is the case, there isn’t anything you can do. Which is why the device keeps shutting down.
Uncooked Rice does work with unsalted water. It worked for me with an iPhone 4 and a Note 4. Most people are not going to have a bunch of Silica packets just lying around. Worst thing one can do is sun dry a phone, cause the residue will be left behind.