Page 1 of 1

Hiding Splash screen when restoring previous session

Posted: Wed Oct 10, 2012 6:47 pm
by donryan
I'm trying to find a way to hide the Splash screen (from the standalone settings) from loading when I'm restoring a prior session. In other words, the user is using the app, presses the Home button, I save the variables and card that the user was last on out to a file. When they reload the app, I read the variables back from a file and restore the last screen they were on, then delete the file. This way if the iPhone crashes or locks up, the next launch of my app will be treated as a new launch and show the splash screen again.

However, I can't find out how to stop the Splash screen from showing when I restore user sessions during normal operation.

Anybody know how to stop the Splash screen from showing or a different way to "suspend" the iOS app between uses?

Re: Hiding Splash screen when restoring previous session

Posted: Wed Oct 10, 2012 7:23 pm
by jacque
The OS shows the splash before your app is even loaded, so the short answer is no, you can't control it.

I solve the problem by not including a splash at all. Even though Apple says you should have one, they don't seem to care if you don't.

Re: Hiding Splash screen when restoring previous session

Posted: Wed Oct 10, 2012 7:38 pm
by donryan
Thank you -- new problem:

I had the Splash screen set and deleted if from the standalone settings -- but -- the screen is still loading even though there is nothing selected.

Do you know how I could permanently delete the Splash screen (seems like the old one is cached somewhere...)

Re: Hiding Splash screen when restoring previous session

Posted: Wed Oct 10, 2012 8:22 pm
by jacque
If you haven't changed the version number of the app, it will appear to load but actually the old one never gets replaced. Delete the old copy from the device or the simulator, then try again.

Re: Hiding Splash screen when restoring previous session

Posted: Wed Oct 17, 2012 2:26 am
by donryan
FINALLY figured out how to do this. Works 100% in both standard and retina resolutions.

See this thread for details: http://forums.runrev.com/viewtopic.php?f=49&t=13162 :mrgreen: