Saturday, July 10, 2010

Making the iphone keyboard go away

There are three ways to do it:

Here's the basic one:

All the text fields should be connected to file's owner.
- (BOOL)textFieldShouldReturn: (UITextField *)sender {
[sender resignFirstResponder];
return YES;
}


For more events - http://blog.costan.us/2009/01/dismissing-virtual-keyboard-on-iphone.html

No comments:

Post a Comment