Add Customize Image launching the app in iPhone?
When i touch my app in iPHone Simulator first black page will come for few millin seconds then 开发者_高级运维out page will come. how should i add images instead of that black page. Please help me out?
Regards Sri
You can add an image by saving a file called Default.png in your project. This should be 320x480 px in size and will appear while your app is starting up.
This page in the apple docs tells you about all the files you will need.
you need a full-screen file (320, 480) (The file needs to be .png).
you need to rename your file to "Default".
you need to put the file into your "resources" in your project.
type this into the "applicationDidFinishLaunching" function in your "AppController.m":
sleep(1);
1(second) represents how long your app is going to show your splashscreen.
If you have problems with that watch this tutorial: http://www.youtube.com/watch?v=pQwFLaAv5Zs
精彩评论