You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by shazron <gi...@git.apache.org> on 2015/05/08 04:08:18 UTC

[GitHub] cordova-docs pull request: Document iOS specific callback for orie...

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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org