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

Andrey Kurdyumov commented on CB-8047:
--------------------------------------

I too think similar functionality is important. Maybe we could at least provide 
alternative where developer could dynamically set values which would be 
returned from {code}supportedInterfaceOrientations{code} and 
{code}preferredInterfaceOrientationForPresentation{code} methods.

Something like that:

{code}
// javscript
setSupportedInterfaceOrientations(...)
// This will save value passed in iOS side
...
// Later in iOS that value would be returned by supportedInterfaceOrientations 
{code}

> [WKWebView][iOS8] wkwebview / local webserver plugin orientation issue
> ----------------------------------------------------------------------
>
>                 Key: CB-8047
>                 URL: https://issues.apache.org/jira/browse/CB-8047
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: iOS
>         Environment: IOS
>            Reporter: Dustin Nielson
>            Assignee: Shazron Abdullah
>             Fix For: 4.0.0
>
>
> After installing the `wkwebview-engine` plugin on ios device (tested iPhone 
> 6, iPad mini 2, iPad retina) and enabling all orientations in xcode.  Upon 
> successful build the devices have fixed portrait orientation that doesn't 
> change when device is rotated.
> The `wkwebview` branch of cordova-ios was used. This problem does not occur 
> in the `master` branch.



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