[iOS] Suspending and quitting

Dar Scott dsc at swcp.com
Sun Mar 4 00:29:30 EST 2012


When I touch an app icon, the splash image expands and then the app shows the first card.

I usually leave an app by the five finger pull.  The image of the current card shrinks.  This is similar to the shrink of pushing the home button.  

If I use the four-finger flip to the side to switch apps when I get back to a LiveCode app it slides in the image of the card I left and then shows the first card.  That is, it seems the image of the current card is saved and used when I flip back to may app.  (I think this is the same as double clicking home.)

If I resume from using the menu at the bottom after a four-finger slide up, the splash image flies in and then I get the first card.  I think that shown by the 4-finger slide up is called the "running" app bar, but those are really recent apps.  (I think this is the same as double clicking home.)

But if I use a 4-finger side slide while the "running" app bar is shown while the LC app is showing, when I slide back, I get the splash and not the image of the current card.  

So, I get splash from touching the icon whether from the home screen or from the "running" app bar.  In side flips, I get either an image of the old card or a splash.  


Maybe the splash screen can be generic rather than the first screen.  That is, it can have the background colors and logos and the app name and is appropriate for any card as controls seem to pop up.  Maybe you can somehow make this a feature.  


As far as resuming from suspend, you can make everything a virtual resume.  


Dar

On Mar 3, 2012, at 1:50 PM, J. Landman Gay wrote:

> I have code in my iOS app that fakes a "suspend" so it can pick up where the user left off when they come back to the app. Now I'm trying to figure out when to use it.
> 
> Is it logical to assume that if the user presses the Home button, they mean to quit? And if they push up the window to switch to another app, they mean to suspend? And if that's true, how would I know when the Home button is pressed? I don't think it's possible.
> 
> Also, if the app is "resuming" I don't want the splash screen to show, the app should just appear in the state the user left it. Is there a way to avoid the splash?
> 
> How do you handle the situation in general?
> 
> -- 
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

---------------------------
Dar Scott
dba 
Dar Scott Consulting
8637 Horacio Place NE
Albuquerque, NM 87111

Lab, home, office phone: +1 505 299 9497
For Skype and fax, please contact.
dsc at swcp.com

Computer Programming and tinkering,
often making LiveCode libraries and
externals, sometimes writing associated
microcontroller firmware.  
---------------------------






More information about the use-livecode mailing list