You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2014/08/27 01:47:59 UTC
[jira] [Resolved] (CB-6951) OrientationChange not working on iphone
iOS 7.1
[ https://issues.apache.org/jira/browse/CB-6951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shazron Abdullah resolved CB-6951.
----------------------------------
Resolution: Not a Problem
Assignee: Shazron Abdullah
By default, a new project only supports Portrait. To support the other orientations, you have to set it in the Info.plist or the project properties.
> OrientationChange not working on iphone iOS 7.1
> -----------------------------------------------
>
> Key: CB-6951
> URL: https://issues.apache.org/jira/browse/CB-6951
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 3.5.0
> Environment: iPhone 5s iOS 7.1,
> Reporter: Mark Eiding
> Assignee: Shazron Abdullah
>
> A simple app was made to test the orientation change with the function.
> $(window).on("orientationchange",function(){ }
> While the app is running the phone becomes orientation locked in portrait and will not change orientations. The same app running on an iPad w/ iOS 7.1 changes orientation correctly. Also if the html file used to build the app is hosted online, the iPhone will detects and changes orientation correctly when on the site.
--
This message was sent by Atlassian JIRA
(v6.2#6252)