It is a well-known fact that uncooked rice sucks moisture out of the air. It is the same principle as silica gel packs that often come with electronics (i.e. the desiccant / do not eat stuff), only, rice is usually more readily available. Either one results in water evaporating more quickly.
That said, neither rice nor silica gel save it from the minerals that come from most water encounters. But that hair dryer idea is even worse. It will drive the water (and thus the minerals) deeper into the phone and cook the electronics, accelerating their premature failure.
The cleanest, best solution is of course to take it apart and get the water removed & cleaned before it dries, but that is not always possible to do in a jiffy, especially with a pentalobular iPhone 4 which requires that special screwdriver. Electronics engineers are handy to have around, they can do some special ultrasonic or alcoholic cleaning to it.