[
https://issues.apache.org/jira/browse/CB-13193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16281562#comment-16281562
]
ASF GitHub Bot commented on CB-13193:
-------------------------------------
fortunes-technology opened a new pull request #25: CB-13193: (ios) Fixed Lock
iOS Landscape Orientation turn up-sidedown
URL: https://github.com/apache/cordova-plugin-screen-orientation/pull/25
### Platforms affected
iOS
### What does this PR do?
In iOS, the Landscape have opposite orientation.
Meaning if you do below when you are in landscape orientation, then you will
notice the screen flips to opposite landscape orientation.
screen.orientation.lock(screen.orientation.type);
### What testing has been done on this change?
Manual testing on iPhone has been done.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Setting orientation to landscape might turn UI upside down if already in
> landscape
> ----------------------------------------------------------------------------------
>
> Key: CB-13193
> URL: https://issues.apache.org/jira/browse/CB-13193
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-plugin-screen-orientation
> Reporter: Jonathan Herdt
> Assignee: Vishal Mishra
>
> Steps to reproduce:
> # Set up an app to lock its orientation to 'landscape' at startup via
> `screen.orientation.lock('landscape')`
> # Set device to landscape-left (home button on left side)
> # Start app
> # Observe UI turning upside down
> Desired behavior: Rotation is locked but UI does not turn upside down
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]