Possible Duplicate:
How to programatically check whether a keyboard is present in iphone app?
Detect if UIKeyBoard is Showing
Is there a way to programmatically check if the iPhone's keyboard is on screen or not?
Possible Duplicate:
How to programatically check whether a keyboard is present in iphone app?
Detect if UIKeyBoard is Showing
Is there a way to programmatically check if the iPhone's keyboard is on screen or not?
Basically, you want to add an NSNotificationCenter
observer:
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardDidShow) name:UIKeyboardDidShowNotification object:nil];