Part 3: Hide that keyboard – A .net developer learns objective-c for iPhone iPad

Quick one.

If you want to hide a keyboard once the Done button is clicked create an action, wire it up and call [sender resignFirstResponder];


- (IBAction)textFieldDoneEditing: (id)sender {
   [sender resignFirstResponder];



over and out.


Leave a Reply

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