Skip to main content
Inspiring
July 2, 2011
Question

Developing for Both IPhone and IPad CS5.5

  • July 2, 2011
  • 1 reply
  • 711 views

I made an app for both Iphone and Ipad.

What size should the Default.png be.

Or I should I include 2 different .png's or what?

This topic has been closed for replies.

1 reply

Participating Frequently
July 2, 2011
Participating Frequently
July 5, 2011

For a universal application that supports iPhone 3GS, iPhone 4(retina display) and iPad. The minimal set would be :

Default.png - which would contain the iPad launch image(for all orientaions)

Default~iphone.png - iPhone version of the image.

Default@2x~iphone.png - in order to support retina display.

You can find more information at http://developer.apple.com/library/ios/#DOCUMENTATION/iPhone/Conceptual/iPhoneOSProgrammingGuide/BuildTimeConfiguration/BuildTimeConfiguration.html

If you name your application launch image file with the naming conventions at this page, they should be picked correctly by runtime.

Thanks,

Sanika

Colin Holgate
Inspiring
July 5, 2011

Default.png would normally be the 320x480 image that is used by all devices if you haven't given alternatives. I suppose you could have a 768x1024 image that is Default.png, and it would be used by the iPad and not used by iPhone if you have also included a Default~iphone.png and Default@2x~iphone.png, but just to keep the convention it might be best to use Default.png for a 3GS and have another image at 768x1024 called Default~ipad.png for the iPad to use.