Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Mobile-Applications hide keyboard iphone

Have Programming Question? Ask it here!
 
 
 


Java Coder
hide keyboard iphone
2 Answer(s)      3 years and 5 months ago
Posted in : MobileApplications


Can anyone tell me how to hide keyboard in my simple view based application in iphone?


Advertisement
View Answers

April 5, 2011 at 5:03 PM


Hiding keyboard in iPhone

- (BOOL)textFielsShouldReturn:(UITextField *)textField {
  [textField resignFirstResponder];
  return YES;
}

Where textField is the object of your UITextField.



April 5, 2011 at 5:07 PM




Related Tutorials/Questions & Answers:
Advertisements
 

 

 

DMCA.com