默认约定:UIInterfaceOrientationLandscapeRight 或 UIInterfaceOrientationLandscapeLeft
将 UIInterfaceOrientation 键添加到 info.plist 文件时,初始应用程序状态是否有常规默认值(UIInterfaceOrientationLandscapeRight 或 UIInterfaceOrientationLandscapeLeft)?
当开始横向拍摄时,您通常使用哪一个?
When adding the UIInterfaceOrientation key to the info.plist file, is there a conventional default value for the initial app state (UIInterfaceOrientationLandscapeRight or UIInterfaceOrientationLandscapeLeft)?
And which do you typically use when starting in landscape?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我找不到阅读此内容的原始文档(这是您第一次开始时阅读的苹果指南文档之一),但它说首选景观是底部的音量按钮。所以我认为这就是 UIInterfaceOrientationLandscapeLeft。
更正: UIInterfaceOrientationLandscapeRight。总是把两者混淆。
I can't find the original document where I read this (It's one of the apple guideline documents you read when you first start) but it said the preferred landscape was with the volume buttons on the bottom. So I think that's UIInterfaceOrientationLandscapeLeft.
correction: UIInterfaceOrientationLandscapeRight. Always get the 2 mixed up.
我认为横向没有传统的默认值。这取决于开发人员,但我认为最好有
UIInterfaceOrientationLandscapeLeft
I don't think there is a conventional default value for landscape orientation. Its upto the developer but I think its better to have
UIInterfaceOrientationLandscapeLeft
用户还可以选择想要使用的方向。
我更喜欢 UIInterfaceOrientationLandscapeRight。
It is also possible for a user to choose which orientation it would like to use.
I prefer UIInterfaceOrientationLandscapeRight.