[
https://issues.apache.org/jira/browse/CB-6462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14391766#comment-14391766
]
ASF GitHub Bot commented on CB-6462:
------------------------------------
Github user purplecabbage commented on the pull request:
https://github.com/apache/cordova-docs/pull/276#issuecomment-88664145
The fallback if you do not provide shouldRotateToOrientation is to evaluate
based on what is specified in the plist.
The plist values come from config.xml preferences.
This covers all cases.
https://issues.apache.org/jira/browse/CB-6462
> 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: [email protected]
For additional commands, e-mail: [email protected]