How to hide a keyboard from view

No comments on How to hide a keyboard from view

Written by

in

Sometimes it is hard to use resignFirstResponder method on every textField, that is present on our view. It is much easier to hide keyboard by the following way:

[self.view endEditing:YES];

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *