If you want to hide the keyboard when you tap a button and you have more than one UITextFields in your view, then you should use:
UITextFields
view
[self.view endEditing:YES];
Tap anywhere on the view, and the keyboard will disappear.
1.4m articles
1.4m replys
5 comments
57.0k users