[ https://issues.apache.org/jira/browse/CB-1182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13430297#comment-13430297 ]
Avidan Chen commented on CB-1182: --------------------------------- This is a major bug for us. We have only one screen where the application should change rotation, and after implementing the method shouldRotateToOrientation in JavaScript it works great in iOS <= 5.1. I'm returning true in this method only when the user is viewing a specific page in my app. However, when tested in iOS 6 DP3 & DP4, this method does not get called at all and the app is stuck in the initial orientation it started in (which in my case is the portrait orientation, as I've indicated in the .plist file of my app). Fixing this for iOS 6 will be greatly appreciated. > iOS 6 - Autorotation changes > ---------------------------- > > Key: CB-1182 > URL: https://issues.apache.org/jira/browse/CB-1182 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Affects Versions: Master > Reporter: Shazron Abdullah > Assignee: Shazron Abdullah > Labels: ios6 > Fix For: 2.1.0 > > > From Michael SBCERA: > Autorotation is changing in iOS 6. In iOS 6, the > shouldAutorotateToInterfaceOrientation: method of UIViewController is > deprecated. In its place, you should use the supportedInterfaceOrientations > and shouldAutorotate methods. Read more at > http://9to5mac.com/2012/06/25/apple-pushes-ios-6-0-update-to-devs/#tumhkqaj5kDKYOC3.99 > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira