Hello,
I have a UIWebView which loads a url. In MobileSafari this webpage will adjust when the handset is rotated to the landscape position. In my UiWebView it just stays in portrait - is the a property I need to add to allow this to occur?
Cheers!
Hello,
I have a UIWebView which loads a url. In MobileSafari this webpage will adjust when the handset is rotated to the landscape position. In my UiWebView it just stays in portrait - is the a property I need to add to allow this to occur?
Cheers!
You need to set your shouldAutoRotateToInterfaceRotation: method to respond to the rotations needed. I have tested this and it works perfectly.
Is your top level UIViewController handling rotations (allowing them in the shouldAutorotate delegate) for its view (and thus for all subviews, including your web view)?