qq_tracker_code_advanced_default

Applications are that access the internet / network upon startup are becoming more and more common. With that in mind, have you ever developed an iPhone app that needs to parse some XML data upon startup? Do you know what happens when your app is launched and it has to sit and wait while data is being received? Nothing happens, nothing but a black screen until your app finally loads.

As far as I’m concerned, that is not the best way to convey your companies image to the end user. Why not put something up for the user to look at while they are waiting for your app to load.

Apple has made this process quite simple.

Start by making yourself a splash image in Photoshop or any other graphics editing software you would prefer. There are 2 different resolutions you can use depending on if you are hiding or showing the status bar.

If you are showing the status bar then you should use 320 x 460 if not then you can use 320 x 480

When you are done creating your splash image, save it as Default.png (Note: the image name is case sensitive)

Copy the created image to the root of your resources folder within your XCode project.

That’s it, that is all there is to it. The Default.png image will load up as soon as you launch your app and will go away as soon as your application is done loading.

A word of caution, Apple implemented this feature to make loading times less visible to the user and recommends that you should use a screen shot of your app’s main view. There have been reports of apps being rejected on the App Store for including lines such as “loading…” or “waiting…” on the splash screen, although these are few and far between.