Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone app loading

Tags:

ios

iphone

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?

like image 228
drewh Avatar asked Sep 15 '08 14:09

drewh


People also ask

Why are all my apps stuck on loading on new iPhone?

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.

Why are my apps stuck on loading on my new iPhone 13?

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.

Why are my iPhone apps not loading?

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.


2 Answers

Add a Default.png to your project. This should be the image you want shown instead of the black launch screen.

like image 135
naveen Avatar answered Oct 08 '22 04:10

naveen


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.

like image 33
Eric Allam Avatar answered Oct 08 '22 05:10

Eric Allam