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];

eg:

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

 

 

over and out.

About InteractiveWebs

This blog is the combined blog work of the InteractiveWebs Dev Team. Together we work on a range of DotNetNuke (DNN) applications, modules, Silverlight, and Microsoft CRM Portal integration products.

Our Business is website design and hosting, with a strong focus on DotNetNuke, Microsoft Dynamics CRM, Silverlight and iPhone iPad development.

Tagged . Bookmark the permalink.

Leave a Reply

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