在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的文档:提供不同方向的启动图像
,
每个特定方向的启动图像必须包含一个特殊的修饰符字符串它的文件名。 特定方向启动图片文件名的格式如下:
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).