iPad: Managing Multiple Launch Images aka Default.png Files

Tue, Apr 6

When loading an application on an iPhone or iPad, a launch image can be shown to provide feedback to the user that the application is loading. On the iPhone one Default.png file was adequate, with the iPad one needs to anticipate the device being started in any orientation, including upside down.

iPad Launch Image Orientations

To deal with various orientation options, a new naming convention has been created for iPad launch images. The screen size of the iPad is 768×1024, notice in the dimensions that follow the height takes into account a 20 pixel status bar.

Filename Dimensions
Default-Portrait.png * 768w x 1004h
Default-PortraitUpsideDown.png 768w x 1004h
Default-Landscape.png ** 1024w x 748h
Default-LandscapeLeft.png 1024w x 748h
Default-LandscapeRight.png 1024w x 748h
Default.png Not recommended


* If you have not specified a Default-PortraitUpsideDown.png file, this file will take precedence.

** If you have not specified a Default-LandscapeLeft.png or Default-LandscapeRight.png image file, this file will take precedence.

Although you can include a Default.png file, and it will be used if no others are specified, I would consider it a best-practice to include all the relevant images needed by your application.

iPad Startup Orientation

Even though an iPad app may be started in any orientation, Apple recommends that you configure your application views upon startup in the preferred orientation inside the application:didFinishLaunchingWithOptions: method. Then, once the system notifies your application of the current orientation, you can arrange your views as needed.

12 comments

how man, how?

i have the images but no code, where do i put that code?

dbax

by darrick on Apr 15, 2010. #

Place all the images in the project and Xcode takes care of the rest, no code needed.

by John Muchow on Apr 15, 2010. #

Hi again.

I googled this “ipad default launch image size” and this site was the first up again.

thanks, i got it working by the way.

dbax

by darrick on Aug 4, 2010. #

Thanks for the information, just saved me a lot of trouble :)

by Rob on Oct 9, 2010. #

Default image is showing reverse in iPad

can you please help me what would be the reason

by Eswer on Jun 10, 2011. #

wild guess: i’ve seen that happening in some browsers when the image is in cmyk
make sure image is an rgb png

by Hal on Jun 18, 2011. #

Thanks for the info.
But, how do I set up the timer for the launch image, since Xcode takes care of the rest.

by David on Jun 21, 2011. #

iOS will manage displaying the launch image. If you want to display an image longer or otherwise create a custom splash, you will have to manage a timer, for example in the delegate upon launch.

by John Muchow on Jun 21, 2011. #

Don’t forget to put the splash screens in the Resources-iPad folder

by Julian on Sep 3, 2011. #

So… you can provide dozens of images for every combination of screen size, orientation, device, etc.

Is there a way to determine after the app launches which one was actually chosen?

When my app launches, Default.png (or one of its many variations) is displayed.

Then, I have a screen that does some additional set up, has a progress bar to give the user hope that the app isn’t just hung, and then the app really starts.

Historically I’ve just provided a Default.png and my own Loading.png for the first screen. Then I added Default@2.png and Loading@2.png. Now I’ve got all the iPad, orientation, etc variations.

BUT… I don’t want my code on the loading screen simply repeating the work done by apple to choose from the many variations. For starters I might not implement it exactly the same. And, as they change their functionality I’d have to keep changing mine to match.

What I’d LIKE to do in the loading screen is ask the phone WHICH Default.png file was JUST shown to the user… so I can use that same image myself.

Is there a way, after launching the app, to determine which Default.png file was actually used?

Thanks!

by Dave on Jan 25, 2012. #

I just wanted to put the splash screens for the universal app. So can you suggest me the sizes and the naming convention that i should follow for this

Regards

by Ganesh on Dec 21, 2012. #

I would recommend looking into the Apple documentation, they provide details about screens sizes, recommendations, etc

by John Muchow on Dec 21, 2012. #