Hiding Splash screen when restoring previous session

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
donryan
Posts: 32
Joined: Mon Jul 23, 2012 1:09 pm

Hiding Splash screen when restoring previous session

Post by donryan » Wed Oct 10, 2012 6:47 pm

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?
LiveCode 5.5.3 -- OS X 10.8.2

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7389
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Hiding Splash screen when restoring previous session

Post by jacque » Wed Oct 10, 2012 7:23 pm

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

donryan
Posts: 32
Joined: Mon Jul 23, 2012 1:09 pm

Re: Hiding Splash screen when restoring previous session

Post by donryan » Wed Oct 10, 2012 7:38 pm

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...)
LiveCode 5.5.3 -- OS X 10.8.2

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7389
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Hiding Splash screen when restoring previous session

Post by jacque » Wed Oct 10, 2012 8:22 pm

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

donryan
Posts: 32
Joined: Mon Jul 23, 2012 1:09 pm

Re: Hiding Splash screen when restoring previous session

Post by donryan » Wed Oct 17, 2012 2:26 am

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:
LiveCode 5.5.3 -- OS X 10.8.2

Post Reply