I'm not sure what you want to accomplish, but maybe this can help you: Register with NSNotificationCenter
to receive the UIKeyboardWillHideNotification and/or UIKeyboardDidHideNotification.
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(myKeyboardWillHideHandler:)
name:UIKeyboardWillHideNotification
object:nil];
...
- (void) myKeyboardWillHideHandler:(NSNotification *)notification {
NSLog(@"Keyboard wants to hide. What a coward.");
}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…