incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Avidan Chen (JIRA)" <>
Subject [jira] [Commented] (CB-1182) iOS 6 - Autorotation changes
Date Tue, 07 Aug 2012 11:53:07 GMT


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:
>             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.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message