How to hide the keyboard programmatically in iphone?
Call this in your ViewController
[self.view endEditing:YES];