iOS 8 iPad仅制作启动屏幕肖像 [英] IOS 8 iPad make only Launch Screen portrait only

查看:57
本文介绍了iOS 8 iPad仅制作启动屏幕肖像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道如何仅针对整个应用程序制作iPad应用程序肖像,以及仅如何制作特定视图的肖像,但不知道如何仅制作启动图像肖像.我该怎么办?

I know how to make an iPad app portrait only for the whole app and how to make particular views portrait only, but not how to make the launch image portrait only. How do I do it?

目前,我在images.xcassets中的"iOS 7.0及更高版本"下仅选中了肖像".我只想要发射图像肖像的原因是我尝试使景观正常工作,但是尽管多次尝试并在这里询问,我还是没有运气.

Currently I only have "portrait" checked under "iOS 7.0 and Later" in images.xcassets. The reason I want the launch image portrait only is I tried getting landscape to work but despite multiple attempts and asking about it here, I had no luck.

说明: 我希望该应用程序同时处理纵向和横向iPad和iPhone.但是iPad的横向图像无法显示,因此我想强制启动图像,而仅将启动图像设置为纵向".

Clarification: I want the app to handle both portrait and landscape iPad and iPhone. But the landscape image for iPad does not display so I want to force the launch image and just the launch image to be Portrait only.

推荐答案

不知道是否选中了此选项,但这经常被忽略.

No idea if you checked this but here is something often overlooked.

在工作区中,如果您选择目标项目,则在部署信息中,有两件事需要检查.首先,请确保仅将设备方向设置为"纵向".然后,打开"设备"上的下拉菜单.分别选择每个,然后执行相同的操作.由于某些原因,Universal不会将其同时应用于 iPhone iPad .

In the Workspace, if you choose your target project, in Deployment Info, there are two things to check there. First, make sure the Device Orientation is set to "Portrait" only. Then, open the drop down menu on "Devices". Choose each separately and do the same thing. For some reason for me, universal does't apply it to iPhone and iPad simultaneously.

这篇关于iOS 8 iPad仅制作启动屏幕肖像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆