Github user shazron commented on the pull request:
https://github.com/apache/cordova-docs/pull/276#issuecomment-100075104
That JS function shouldRotateToOrientation will not be supported in
cordova-ios 4.0.x.
This is because of the pluggable webview support. The CDVWebViewEngine
interface calls for an async call to JavaScript now (WKWebView's function to
call into JS is async).
Because this call is async, the supportedOrientations selector that is
called by the CDVViewController synchronously, can't use the async function
above.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]