I want to launch a mobile website as an app on iPhone so I’ve use the UIWebView component.
I want my app to support orientation change,so I’ve written the following code but I’m not getting expected result.
Please suggest me what changes to be made in order to fix the problem.
Here is my code.
Perfect solution for you question,
http://developer.apple.com/library/ios/#featuredarticles/ViewControllerPGforiPhoneOS/RespondingtoDeviceOrientationChanges/RespondingtoDeviceOrientationChanges.html