cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philipp Kursawe (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-11442) preference for orientation sets upside-down when only "portrait" is configured
Date Wed, 15 Jun 2016 11:24:09 GMT
Philipp Kursawe created CB-11442:
------------------------------------

             Summary: preference for orientation sets upside-down when only "portrait" is
configured
                 Key: CB-11442
                 URL: https://issues.apache.org/jira/browse/CB-11442
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 4.1.1
            Reporter: Philipp Kursawe
            Assignee: Shazron Abdullah


When setting the orientation to portrait like this:

{code}
<preference name="orientation" value="portrait"/>
{code}

the cordova ios engine also sets the "upside-down" orientation. I had to resort to overwrite
the plist values myself

{code}
<config-file target="*-Info.plist" parent="UISupportedInterfaceOrientations" overwrite="true">
          <array>
            <string>UIInterfaceOrientationPortrait</string>
          </array>
        </config-file>
        <config-file target="*-Info.plist" parent="UISupportedInterfaceOrientations~ipad"
overwrite="true">
          <array>
            <string>UIInterfaceOrientationPortrait</string>
          </array>
        </config-file>
{code}



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


Mime
View raw message