SupportedOrientations =“纵向"; [英] SupportedOrientations="Portrait"

查看:78
本文介绍了SupportedOrientations =“纵向";的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个页面,其中SupportedOrientations ="Portrait"取向=纵向".当我旋转模拟器时,页面变成横向模式.我还有第二页具有相同的设置,并且旋转模拟器不会改变方向.是 我错过了一些简单的东西吗?

I have a page which has SupportedOrientations="Portrait" Orientation="Portrait" when I rotate the emulator the the page turns into landscape mode. I have a second page with the same settings and rotating the emulator does not change the orientation. Am I missing something simple?

推荐答案

我很惊讶第一页旋转.要允许景观,请使用:

SupportedOrientations ="PortraitOrLandscape"
I'm surprised that the first page rotates.  To allow landscape, use:

SupportedOrientations="PortraitOrLandscape"


这篇关于SupportedOrientations =“纵向";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆