Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11411

screen.orientation in landscape does not use same orientation as screen.lockOrientation()

    XMLWordPrintableJSON

Details

    Description

      I have some code to lock the screen to the current orientation. I've implemented as such

      screen.lockOrientation(screen.orientation);
      

      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.

      Attachments

        Issue Links

          Activity

            People

              tony-- Tony Homer
              jvngd Jason Vertucio
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: