I am developing an application that uses a UIWebView. The applications interface supports rotation. During testing I have noticed that if the keyboard is up (for example when the user clicks on a textbox in a web page) and the phone is rotated from portrait to landscape the keyboard is not displayed correctly.
This ranges from the keyboard being present and in landscape but on its side (whilst testing on the phone) to crashing the app in the simulator.
I have noticed that other apps e.g. safari dont let you rotate the phone if the keyboard is up. I have tried using the UIKeyboard notifications to establish whether the keyboard is present and then disable the rotation. This works fine with a UITextField as the notifications are received as you would expect. However it seems that when using a UIWebView the notifications are not sent and therefore the rotation can not be disabled.
Anyone else had the same issues with UIWebView or know of solutions to this problem ?
This ranges from the keyboard being present and in landscape but on its side (whilst testing on the phone) to crashing the app in the simulator.
I have noticed that other apps e.g. safari dont let you rotate the phone if the keyboard is up. I have tried using the UIKeyboard notifications to establish whether the keyboard is present and then disable the rotation. This works fine with a UITextField as the notifications are received as you would expect. However it seems that when using a UIWebView the notifications are not sent and therefore the rotation can not be disabled.
Anyone else had the same issues with UIWebView or know of solutions to this problem ?