Skip to main content
Inspiring
November 29, 2011
Answered

Default.png on iPad/AIR

  • November 29, 2011
  • 3 replies
  • 2772 views

Hi

I would like to see a splash screen come up while my iPad app loads... it currently shows a black screen.

I'm developing the app with AIR for iOS in Flash Pro CS5.5

In the docs I see you need to include a Default.png file which would appear while the app is loading.

I created a Default.png file, 1024x768 (landscape) and placed it in the same directory as my app config xml file. Published with 'Quick Publishing for device testing' and it created the ipa. But Default.png doesn't show up when I run. I also tried placing the png file with my source files & fla, but that didn't work either.

It seems there must be some way in the config file that it needs to use a splash screen image, but I don't know how to do that, and the docs don't mention it. The docs talk about building the app in the command line to include Default.png, which I will do if I have to, but would like to know if there's another way.

Thanks

-rich

This topic has been closed for replies.
Correct answer timothyrandall

You need to add the default png to your included files within flash otherwise it won't get built into the IPA

3 replies

timothyrandallCorrect answer
Participating Frequently
November 29, 2011

You need to add the default png to your included files within flash otherwise it won't get built into the IPA

Colin Holgate
Inspiring
November 29, 2011

Different files are used for different devices. If you wanted to support the iPhone, iPad, and iPhone Retina display, you would have these files:

Default.png - 320x480, used for iPhone. Would be your landscape splash screen on its side.

Default@2x.png - 640x960, same as above, but for Retina display

Default-Landscape.png - 1024x768, your iPad splash screen in its normal orientation.

flextnetAuthor
Inspiring
November 29, 2011

Thanks Colin...

Is there no need to add a tag to the app config file then?

I'll try it

-rich