You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/07/01 11:38:01 UTC

[GitHub] jcesarmobile commented on issue #32: Simplify the IOS orientation logic

jcesarmobile commented on issue #32: Simplify the IOS orientation logic
URL: https://github.com/apache/cordova-plugin-screen-orientation/pull/32#issuecomment-401601096
 
 
   With the phone in landscape if I run 
   ```
   window.screen.orientation.lock('portrait');
   window.screen.orientation.unlock();
   ```
   It remains in portrait, while in Android it goes back to current orientation.
   
   Looks like this `[UINavigationController attemptRotationToDeviceOrientation];` does nothing

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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