You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Edna Morales (JIRA)" <ji...@apache.org> on 2014/07/15 17:20:04 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14062192#comment-14062192 ] 

Edna Morales commented on CB-6951:
----------------------------------

It is working for me. I created a simple app and it does change orientations. I did have to go into the Xcode project and check the orientations under Deployment Info. The phone will change orientation once that is done.
For the function, I used window.onorientationchange = function(){}.

> 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
>
> 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)