Reputation: 310
Our universal application is in Landscape mode only. We need to add a splash screen for iPhone 4 & iPhone 5.
For iPhone 5 in Portrait we use [email protected]
. How to set a launch screen in Landscape for iPhone 5?
Upvotes: 5
Views: 7297
Reputation: 27225
According to Apple's Documentation : Providing Launch Images for Different Orientations ,
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
Eg :
1) Default-Portrait.png
2) Default-PortraitUpsideDown.png
3) Default-Landscape.png
4) Default-LandscapeLeft.png
5) Default-LandscapeRight.png
Note : These modifiers are supported for launch images used in iPad apps only.
So you have to change your Image according to the Orientation for iPhone 5.
Two ways to do that :
1) Rotating the Splash Image to 90 Degree.
2) Inverting the Dimensions (320 * 480 -> 480 * 320).
Upvotes: 7
Reputation: 7439
From Apple doc, landscapes launch screens are supported for iPad only.
For iPhone and iPod Touch, you need to create a portrait launch screen that can be your 90°-oriented landscape launch screen. I would apply a clockwise rotation rather than a counter-clockwise rotation (ie so that on a desktop, you need to bend your head on the right to see the image with the correct orientation).
Upvotes: 0
Reputation: 7667
to provide a landscape launch image you must create the image.. and just rotate it 90 degrees in an external image editor
Upvotes: 2
Reputation: 25
use these macros in pch file
#if IS_iPAD
LaunchImage=iPad.png
else
LaunchImage=iPhone.png
Upvotes: -3
Reputation: 212
Very simple make design on splash screen in landscape mode . and just make splash screen as you do in portrait . user automatically make phone landscape when he/she see screen is in landscape :-)
Upvotes: 0