We've an iPad application. It supports all the interface orientation.
It works perfectly, but after download the last version of the XCODE, - when the application starts with didFinishLaunchingWithOptions - or execute the event applicationDidBecomeActive
Althought the device orientation was in landscape mode the interface turns always to the portrait mode.
It happens just the first time, after that point, when we rotate the device or the simulator, the application rotates successfully.
I search on the web, and found the next solution: - Create manually on the app-info.plist the UISupportedInterfaceOrientations~ipad node and include the four supported values.
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeRight</string>
But still doesn't works properly ...
Any suggestions?
Thanks,
Ivan