iPhone Application

Friday, 1 February 2013

how to hide the keyboard when empty area is touched on iphone


- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event 
{
   [self.view endEditing:YES];
}
Posted by Unknown at 15:44
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ▼  2013 (67)
    • ►  April (11)
    • ►  March (23)
    • ▼  February (13)
      • Use Compiler Flags to Enable and Disable ARC
      • Finding Your iPhone’s Unique Identifier (UDID)
      • Step-by-Step Guide to Publishing in the Apple App ...
      • Step-by-Step Guide to Publishing in the Apple App ...
      • How to Create a Provisioning Profile for iPhone
      • InterView Question's
      • Blogs Related to iPhone Development
      • id vs NSObject
      • Explanation of strong and weak.
      • Age between two dates for age calculator
      • How to restrict alpha character in phone UITextFie...
      • if create variable in AppDelegate and use any class
      • how to hide the keyboard when empty area is touche...
    • ►  January (20)

About Me

Unknown
View my complete profile
Picture Window theme. Powered by Blogger.