I'd like to detect whether or not the keyboard is showing. I've found a few other posts that traverse the subviews of UIWindow to find the keyboard, but if that is the only way then I'll figure out something else. I suppose I could also observe the UIKeyboard notifications, but I'm guessing there is a cleaner solution out there.
+4
A:
I am not sure what's "dirty" in observing UIKeyboard notifications but it definitely beats traversing UIWindow hierarchy.
Steam Trout
2010-10-11 07:03:10
+2
A:
You should be observing the notifications, it is simple to do and there is nothing wrong with that approach.
Check out this post,
Flash84x
2010-10-11 07:04:42
Ah, so those were the keywords I needed to search! Thanks for pointing that link out, very helpful.
Drewsmits
2010-10-11 19:01:26