If you know the text field that is being edited, you can tell it to resign first responder:[textField resignFirstResponder];Otherwise, you can tell the enclosing view to end editing, and it'll figure out who is editing and tell them to resign:[self.view endEditing: YES];