Codesnipp.it Social Code Sharing

Amber Weinberg

Making the Keyboard Go Away When Touching The Background of the App

by Amber Weinberg on Jun 14, 2010

// in your ViewController.h file - (IBAction)backgroundTap:(id)sender; // in your ViewController.m file - (IBAction)backgroundTap:(id)sender { [nameField resignFirstResponder]; [numberField resignFirstResponder]; }

Can't see the comments? Please login first :)