@interface ViewController @end @implementation ViewController -(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { [firstControl resignFirstResponder]; [secondControl resignFirstResponder]; [thirdControl resignFirstResponder]; // ... } @end