如何解决在Windows Phone 8 Phonegap应用程序的方向? [英] How to fix orientation on Windows Phone 8 Phonegap app?
本文介绍了如何解决在Windows Phone 8 Phonegap应用程序的方向?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有人知道如何解决Windows Phone 8 Phonegap应用程序中的方向?
Does anybody know how to fix the orientation in Phonegap app for Windows Phone 8?
我想应用程序只支持纵向。
I want the app only supports portrait orientation.
推荐答案
接受的答案不正确
正确的答案是:
打开
MainPage.xaml
MainPage.xaml
并根据需要更改方向,minie是Portrait
and change this for the orientation you want, minie was Portrait
SupportedOrientations = =肖像
SupportedOrientations="Portrait" Orientation="Portrait"
这篇关于如何解决在Windows Phone 8 Phonegap应用程序的方向?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文