Application icon and image files

Since I had to fix my application icon file I thought I would take a look at what additional icon and image files the iPad and iPhone OS 3.2 introduced and create those at the same time. Some of the new icons are optional but even so the list is longer than I thought. It is even longer if you consider ever image you need to produce to submit a finished app to the App Store:

Application Icons

The application icons are displayed on the device home screen. Pre-3.2 there was a single application icon file named Icon.png that needed to be a 57 x 57 pixel png file. The name of the file is set in the Info.plist file for the application using the CFBundleIconFile key. With the release of iPhone OS 3.2 there is now also a larger icon file (72 x 72 pixels) for the iPad. If you are creating a Universal app for iPhone, iPod and iPad devices both these filenames would be listed using the CFBundleIconFiles key in Info.plist.

Small Icons

The small icons are used to whenever the application matches a Spotlight search or if the application is using the built-in Settings application. These icons are optional as the application icon will be scaled down and used when necessary.

Large Application Icon

When submitting an app to the App Store you need a 512 x 512 pixel version of the application icon. This image can be in TIFF or JPEG format. It is not normally part of the application bundle except for when you want to create an Ad Hoc distribution. In that case it needs to be placed in the root of the application bundle and named iTunesArtwork (with no file extension).

Launch Images

The launch image is what gets displayed automatically by the OS whilst your application is loading. Pre-3.2 this was a single file named Default.png 320 x 480 pixels in dimension. With the iPad allowing applications to launch in any orientation this gets much more complicated:

Device Specific Keys

Whilst that covers the most common image files that will be needed it is not quite the end of the story. With iPhone OS 3.2 Apple has introduced the concept of device specific keys. This means that you can override the keys in the Info.plist file for each device. The basic format of the key is now:

key_root-<platform>~<device>

The is optional and can be discarded as it can currently only take the value iphoneos. The portion though can take one of three possible values: iphone, ipod or ipad. This means that you can start to define images specific to a device.

Never miss a post!

iOS Size Classes Cheat Sheet

Subscribe and get my free iOS Size Classes Cheat Sheet

Success! Now check your email to confirm your subscription and download your free guide to iOS Size Classes.

There was an error submitting your subscription. Please try again.

Unsubscribe at any time.
No time to watch WWDC videos?

Sign up to get my iOS posts direct to your inbox and I will send you a free PDF of my iOS Size Classes Cheat Sheet.

OK! Check your inbox (or spam folder) for an email to confirm your details and download your free guide to iOS Size Classes.

There was an error submitting your subscription. Please try again.

Unsubscribe at any time.
Archives Categories