本文介绍了iPad的通用应用和横向定位的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想设计一个通用应用程序,我只想支持纵向方向。这很奇怪,因为Xcode只允许你在目标的部署信息设置(和Info.plist)中选择纵向,但是阅读,在有关发布图片的部分中,我发现了这个:

I want to design a universal app that I'd want to support just portrait orientation. It's weird because Xcode allows you to select portrait orientation only in the target's Deployment Info settings (and in Info.plist), but reading the iOS Human Interface Guidelines, in the section regarding the launch images, I've found this:

这是否意味着你即使您只支持纵向方向,也必须提供横向启动图像?或者是否需要在iPad中支持横向?

Does that mean that you have to provide a launch image in landscape orientation even if you only support portrait orientation? Or is it required to support landscape orientation in iPad?

谢谢

编辑:看起来不需要在iPad中同时支持纵向和横向,但强烈建议。然而,看起来,如果支持方向,也应该是相反的方向(例如,纵向和倒置)。那么它是否需要提供两个发射图像? (肖像和颠倒)。再次感谢

It looks like it is not required to support both portrait and landscape orientations in iPad, though strongly recommended. However, it looks like, if an orientation supported, also the opposite one should be (portrait and upside-down, for instance). Is it required then to provide both launch images? (portrait and upside-down). Thanks again

推荐答案

强烈建议您的应用程序支持所有方向。这包括肖像,肖像倒置,左侧景观和右侧景观。需要定位的iPad应用必须支持该方向的两种变体。

It is strongly recommended that your application support all orientations. This includes portrait, portrait upside-down, landscape left and landscape right. iPad apps that require an orientation must support both variants of that orientation.

这篇关于iPad的通用应用和横向定位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-14 13:40