I don't want any more the splash screen, I have removed the Default.png from the resources file, also I have removed the sleep function. However, when I run the app, the splash开发者_运维技巧 screen is still there, can you help me to figure out why it still displayed? Thanks in advance :)
Did you clean the targets after you removed the image? Xcode sometimes requires a clean between builds in order to notice changes to your images. And if that does not work, uninstall the app from the simulator and rebuild.
Try cleaning the targets (Cmd+Shift+K), and if this doesn't work try to delete the app from the simulator/device and to reinstall it.
iOS always displays a "splash screen", AKA launch screen. When you don't provide an image, it initially shows a black screen. When the quits the app, iOS takes a screenshot just after your code return the applicationDidEnterBackground:
and uses it as the new launch image (as long as your app doesn't quit).
I experienced the same issue and none of the cleaning activities nor uninstalling the app from simulator helped.
From my point of view there was a bug in xcode 3.x which is now properly fixed in V. 4.x
精彩评论