简体   繁体   English

Xcode中的设备方向似乎无法正常工作

[英]Device orientation in Xcode does not seem to work properly

In my project I have only options "portrait" and "upside down" selected. 在我的项目中,仅选择了“纵向”和“上下颠倒”选项。 The two of landscape options are not checked. 没有选中两个景观选项。 But when I run it whether on a device or on simulator and turn it right or left the app becomes landscape. 但是,无论我是在设备上还是在模拟器上运行它,然后向右或向左旋转,应用程序都会变为横向。 It should not, what could be wrong? 它不应该,有什么问题吗?

Ups,对不起,我没有注意到iPad选项卡,其中也包含带有选中的横向复选框

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM