default.png

Upgrading iPhone apps to run full screen on iPhone 5

As you probably know already, the iPhone 5 is taller than the previous iPhone 4S and iPhone 4. When I first heard about the change is size my first thought was how long is it going to take to update all my apps to work on these devices.

Turns out that so far it hasn’t been hard at all. I have just had to create a new Default.png to cater for the iPhone 5 and the rest is done automatically.
The new default image is 640px wide and 1136px tall and needs to be called Default-568h@2x.png. 

One thing to be aware of is that as much as this process is very easy, it might not work for every single app as some apps have positions and layouts hard coded. The apps that have standard layouts without hard coded values tend to be the ones that benefit from this automatic upgrade.

iOS Launch Images

When creating a new universal IOS app you need to create a minimum of 6 launch images to support the iPhone and iPad (both including their retina displays).

For the iPhone you have it easy, only 2 are required.

Default.png – 320 x 480
Default@2x.png – 640 x 960 

For the iPad there are a few more:

Default-Portrait.png – 768 x 1004
Default-Portrait@2x.png – 1536 x 2008
Default-Landscape.png – 1024 x 748
Default-Landscape@2x.png – 2048 x 1496

You can specify images for Landscape Right and Left and also Portrait Upside Down using the names below:

Default-LandscapeLeft.png
Default-LandscapeRight.png
Default-PortraitUpsideDown.png

For more information on Custom images and icons visit the apple developer site

 Scroll to top