0
好吧,所以我有一个phonegap应用程序,我想在横向模式下运行。实际上,它只能以纵向模式运行,即使旋转未锁定,当旋转设备(iPad)时也不会发生任何反应。PhoneGap在横向模式下运行应用程序
我:
UIInterfaceOrientationLandscapeRight
在我的应用程序 - 的info.plist
,并在config.xml我:
<platform name="ios">
<preference name="Orientation" value="landscape" />
</platform>
我错过了什么?非常感谢您的帮助。
你也可以用xcode来做,在一般的选项卡中你可以选择“device oriantation”部分,你可以根据你的需要选择4个选项,它会完成你的要求。 – Naitik
同时将值设置为'默认'到配置文件可能有助于实现您的任务 –