Notifications about the UITextField keyboard return button come through this delegate method. This one hides the keyboard when the return button is typed.- (BOOL) textFieldShouldReturn: (UITextField *) textField { // Dismiss the keyboard. [self.view endEditing:YES]; return YES; }