[英]How do I lock the sceen from rotating in a steroids.js - AppGyver mobile app
Well the title is self explanatory.There are many guides for phonegap - cordova but none for a steroids project. 好吧,标题是不言自明的.phonegap有很多指南-科尔多瓦,但类固醇项目没有指南。 Does anyone have any idea on how to accomplish orientation lock in an android app?
有谁对如何在android应用中完成方向锁定有任何想法吗?
AppGyver employee here – I just wrote a quick device orientation guide about the issue. AppGyver员工在这里–我刚刚写了一篇有关该问题的快速设备指南 。 Hope this answers your question!
希望这能回答您的问题!
so locking the orieb=ntation is independed of plugin you are using. 因此锁定orieb = ntation取决于您使用的插件。 Just lock the orientation in adroid app in manifest/Mainclass.
只需在manifest / Mainclass中的adroid应用中锁定方向即可。
Lock screen orientation (Android) 锁定萤幕方向(Android)
Programmatically lock into portrait mode for certain operations 以编程方式锁定肖像模式以进行某些操作
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.