How to detect hide event of international keyboard?
UIKeyboardDidHideNotification doesn't seem to trigger.
Below related link is not helpful.
detect the appear and disappear of international keyboard
MORE INFO
This is how I setup notification for both UIKeyboardDidHideNotification and UIKeyboardDidShowNotification
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardDidShow:) name:UIKeyboardDidShowNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardDidHide:) name:UIKeyboardDidHideNotification object:nil];
-(void)keyboardDidShow:(NSNotification*)notification {
NSLog(@"keyboardDidShow");
}
-(void)keyboardDidHide:(NSNotification*)notification {
NSLog(@"keyboardDidHide");
}
keyboardDidShow is triggered twice. First is when standard keyboard pops out. Second is when the international keyboard pops out.
keyboardDidHide is NOT triggered when I hide the international keyboard. But it is triggered when standard keyboard is hidden.
Am I missing something?