When I load my iPhone app it always loads a black screen first then pops up the main window. This happens even with a simple empty app with a single window loaded.
I've noticed that when loading, most apps zoom in on the main window (or scale it to fit the screen, however you want to think about it) and then load the content of the screen, with no black screen (see the Contacts app for an example).
How do I achieve this effect?
A lot of the time when apps are stuck waiting or not downloading on your iPhone, there's an issue with your Apple ID. Every app on your iPhone is linked to a specific Apple ID. If there's an issue with that Apple ID, apps may get stuck. Usually, signing out and back into the App Store will fix the problem.
If an app is stuck at “Loading” or “Installing” due to a corrupt or broken download, deleting it and initiating a new download can help. To do that, start by long-pressing a vacant area of the Home screen to “jiggle” all app icons. Then, follow by tapping the Delete icon to remove the app.
To help resolve this issue, please force close the App Store app and restart your device as iOS clears cached data and does other system optimizations when you turn your device off and on. Then open the App Store app and test if these apps will reinstall on your iPhone.
Add a Default.png to your project. This should be the image you want shown instead of the black launch screen.
Also just to save you some time, there is no way to change this image during the runtime of your application. If you look at Apple's Clock application you can see how depending on the last state of the application, the Default.png changes. You cannot do this in your own app because of permission limits. Also, make sure to read the iPhone HIG for best practices on Default.png use, in short, dont use it as a splash screen like Twitteriffic.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With