我想锁定我在 Meteor 中构建的应用程序的方向。 资源建议安装 cordova 插件,但我不想这样做,还有其他方法吗?
最佳答案
您只需在 mobile-config.js 文件中添加此行
App.setPreference("orientation", "portrait");
关于android - 如何在 meteor 中锁定应用程序的方向,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34316251/