How can I programmatically check whether a keyboard is present in iOS app?

…or take the easy way:

When you enter a textField, it becomes first responder and the keyboard appears.
You can check the status of the keyboard with [myTextField isFirstResponder]. If it returns YES, then the the keyboard is active.

Leave a Comment