iPhone SDK: How to determine keyboard type within a UIKeyboardDidShowNotification?
- by iPhone Developer
Hello,
I need to know the current keyboard type. I was setting an instance variable in
- (BOOL)textFieldShouldBeginEditing:(UITextField *)textField
However, testing has shown that this is not always reliable because of the asynchronous nature of notifications.
What I am wondering is if anyone can tell me how to determine the current keyboard type within
a notification?
- (void)keyboardDidShow:(NSNotification *) {
// Need way to determine keyboard type here
}
Thanks.