Jeu*_*ung 7 iphone xcode objective-c orientation ios
我已将设备方向设置为仅在Xcode中选中"纵向".但是,当我在模拟器中运行我的应用程序时,它会在所有方向上旋转.
以前有人遇到同样的问题吗 谢谢
zep*_*hyr 49
就我而言(Xcode 13.1)\xef\xbc\x8c它非常适合我:
\n请按照步骤:
\nBuild Settings;All和Combined选项;orientation关键词Supported interface Orientations(iPhone),点击右侧的值;Xcode中的"常规" - >"部署信息"UI可能是欺骗性的.检查以下两个键info.plist:
UISupportedInterfaceOrientations
和
UISupportedInterfaceOrientations~ipad
| 归档时间: |
|
| 查看次数: |
2268 次 |
| 最近记录: |