Another easy way to do it
I found it easiest to just make sure that after you are through with the keyboard that you disable all the text fields. This will make your keyboard slide away into that good night. For example in one case I have two text fields: username and password. When the person hits the login button or hits go while they are in the final text field on the virtual keyboard it launches an IBACTION method that does this:
[username setEnabled:FALSE];
[password setEnabled:FALSE];
If you set these values to TRUE in viewDidLoad then if you come back to this view all will be back to normal.
Hope this helps!
Nick Powers
|