在iPhone 5的横向模式下启动启动画面 [英] Launch splash screen in Landscape mode for iPhone 5

查看:106
本文介绍了在iPhone 5的横向模式下启动启动画面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的通用应用程序仅在横向模式下。我们需要为iPhone 4和iPad添加一个闪屏。 iPhone 5。

Our universal application is in Landscape mode only. We need to add a splash screen for iPhone 4 & iPhone 5.

对于iPhone 5中的iPhone 5,我们使用 Default-568h@2x.png 。如何在Landscape for iPhone 5中设置启动画面?

For iPhone 5 in Portrait we use Default-568h@2x.png. How to set a launch screen in Landscape for iPhone 5?

推荐答案

根据 Apple的文档:< a href =http://developer.apple.com/library/ios/#DOCUMENTATION/iPhone/Conceptual/iPhoneOSProgrammingGuide/App-RelatedResources/App-RelatedResources.html#//apple_ref/doc/uid/TP40007072-CH6-SW12 rel =noreferrer>提供不同方向的启动图像

每个特定方向的启动图像必须包含一个特殊的修饰符字符串它的文件名。 特定方向启动图片文件名的格式如下:

Each orientation-specific launch image must include a special modifier string in its filename. The format for orientation-specific launch image filenames is as follows:

<basename><orientation_modifier><scale_modifier><device_modifier>.png

例如:

1)    Default-Portrait.png
2)    Default-PortraitUpsideDown.png
3)    Default-Landscape.png
4)    Default-LandscapeLeft.png
5)    Default-LandscapeRight.png

注意: 这些修饰符仅适用于iPad应用中使用的启动图像。

所以你必须根据 iPhone 5 方向更改图片

So you have to change your Image according to the Orientation for iPhone 5.

两种方法:


1)将启动画面旋转到90度。

1) Rotating the Splash Image to 90 Degree.

2)反转尺寸(320 * 480 - > 480 * 32 0)。

2) Inverting the Dimensions (320 * 480 -> 480 * 320).

这篇关于在iPhone 5的横向模式下启动启动画面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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