I'm using the new simulator with iOS7 and iOS8. Cmd-K toggles the software keyboard - to simulate hardware keyboards. What's the best way to detect whether the software keyboard is displayed?
I'm observing UIKeyboardWillShowNotification but it's returning the height of the software keyboard (in my case 266) even though the software keyboard isn't displayed.
NSValue* keyboardFrameBegin = [keyboardInfo valueForKey:UIKeyboardFrameEndUserInfoKey];
Is there a way to determine whether the software keyboard is displayed?
Thanks for the help!