[ 
https://issues.apache.org/jira/browse/CB-6462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14221447#comment-14221447
 ] 

Tony Homer commented on CB-6462:
--------------------------------

I had read CB-6182 but I didn't notice that it was a docs bug!
Now it makes a lot more sense.

I agree that it might not make sense to have the iOS platform read directly 
from the config.xml value, but do you think it would be wrong to update the CLI 
to modify the relevant Info.plist values?  I mean, it already has to update 
things like the bundle identifier and the version, so updating the 
UISupportedInterfaceOrientations property in Info.plist is doable, isn't it?

I'm just trying to understand what you think we should do (or not) - it seems 
like right now this is totally unsupported via CLI.
I'd like for it to be supported via CLI (by editing config.xml) in addition to 
being supported via the platform path by directly editing the native project 
files (Info.plist).



> Support "Orientation" global preference
> ---------------------------------------
>
>                 Key: CB-6462
>                 URL: https://issues.apache.org/jira/browse/CB-6462
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>
> See CB-6182
> For Orientation, this requires a change in the Info.plist but we could read 
> the preference, and override the reading of the values here: 
> https://github.com/apache/cordova-ios/blob/217b3a52af828b0cc88111bcda7f7b862ad1549d/CordovaLib/Classes/CDVViewController.m#L78
> ... however it might be too confusing for the user, if there are two places 
> for the values to be set – but it could just be a documentation issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to