Jason Vertucio created CB-11411:
-----------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]