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

Shazron Abdullah resolved CB-11442.
-----------------------------------
    Resolution: Won't Fix

> 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
>              Labels: triaged
>
> 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.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to