Test iPad keyboard hidden button

Hi, is there a way to detect hidden buttons on the iPad keyboard? I mean when the user presses this button:

Something will happen!

I’m not sure what you want to accomplish, but maybe this can help you: sign up for NSNotificationCenter to receive 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.");
}

Hey is there a way to detect the iPad keyboard hidden button? I mean when the user presses this button:

Something will happen!

I’m not sure what you want to accomplish, but maybe this can help you: Sign up for NSNotificationCenter to receive 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.");
}

Leave a Comment

Your email address will not be published.