Pages

Thursday, October 3, 2013

Hide Keyboard for presentViewController

Hi, i found an issue that if you are using presentViewController then resignFirstResponder doesn't hide the keyboard. We can follow the below method for hiding keyboard

Just write the below code and add resignFirstResponder. it should work then 
-(BOOL)disablesAutomaticKeyboardDismissal{
    return NO;

}