iOS 应用程序通常/首选的横向方向是什么?

发布于 2024-11-17 23:31:15 字数 104 浏览 4 评论 0 原文

是 UIInterfaceLandscapeLeft (主页按钮在左侧)还是 UIInterfaceLandscapeRight (主页按钮在右侧)?

请注意,只需支持其中之一。

Is it UIInterfaceLandscapeLeft (Home button on left) or UIInterfaceLandscapeRight (Home button on right)?

Note that the need is to support only one of them.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

海的爱人是光 2024-11-24 23:31:15

老问题!!无论如何...

正如您可以阅读这里,您应该在文档中找到类似的内容。

仅横向的应用程序应该支持两种横向
方向,即“主页”按钮位于右侧或左侧
左边。如果设备实际上已经处于横向状态,
仅横向应用程序应以该方向启动。
否则,仅横向应用程序应在
默认情况下,主页按钮位于右侧的方向。

如果是这样,应该首选 UIInterfaceLandscapeRight

Old question!! Anyway...

As you can read here, you should find something like this in the documentation.

A landscape-only application should support both landscape
orientationsthat is, with the Home button on the right or on the
left. If the device is already physically in a landscape orientation,
a landscape-only application should launch in that orientation.
Otherwise, a landscape-only application should launch in the
orientation with the Home button on the right by default.

If so, UIInterfaceLandscapeRight should be prefered.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文