Sunday, August 1, 2010

Why iPhone Apps Don't Rotate With Keyboard

I've always wondered, as a user, why most (but not all) iPhone apps cannot rotate when the keyboard is showing. The reason is that you generally need a UIKeyboardDidShowNotification to figure out how big the keyboard is. You cannot get one of these when you want. You usually get them only when the keyboard is being shown or hidden. I'm not saying it's impossible to get the keyboard height without this notification, but it might require calling private SDK methods.

No comments: