iOS event when keyboard hides
cocoa-touch, ios, iphone, objective-c, xcode
Solution
Yes Use the following
//UIKeyboardDidHideNotification when keyboard is fully hidden
//name:UIKeyboardWillHideNotification when keyboard is going to be hidden
[[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(onKeyboardHide:) name:UIKeyboardWillHideNotification object:nil];
And the `onKeyboardHide`
-(void)onKeyboardHide:(NSNotification *)notification
{
//keyboard will hide
}
Problem
I need to control, after keyboard is shown and done button is pressed, when keyboard hides. Which event is triggered when hides keyboard on iOS? Thank you