You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Tony Homer (JIRA)" <ji...@apache.org> on 2016/06/28 12:31:57 UTC

[jira] [Assigned] (CB-11411) screen.orientation in landscape does not use same orientation as screen.lockOrientation()

     [ https://issues.apache.org/jira/browse/CB-11411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tony Homer reassigned CB-11411:
-------------------------------

    Assignee: Tony Homer

> screen.orientation in landscape does not use same orientation as screen.lockOrientation()
> -----------------------------------------------------------------------------------------
>
>                 Key: CB-11411
>                 URL: https://issues.apache.org/jira/browse/CB-11411
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Screen Orientation
>            Reporter: Jason Vertucio
>            Assignee: Tony Homer
>
> I have some code to lock the screen to the current orientation. I've implemented as such
> {code:javascript}
> screen.lockOrientation(screen.orientation);
> {code}
> but what ends up happening is that it just switches the screen to the opposite orientation and then locks it in that position.
> Tested on iOS 9.3.2, both iPhone 6 and iPhone 6s.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org