reopen app from background iOS 7 and 8 / multitask

Mark Talluto userev at canelasoftware.com
Mon Nov 24 18:29:35 EST 2014


On Nov 24, 2014, at 2:06 PM, Alain Vezina <alain.vezina at logilangue.com> wrote:

> Hi all,
> 
> Does anybody knows if it is possible to go back to an app that was pushed in the background by using the home button on iPad without the app reopens with the splash screen but showing the state it was before pushed back?


Hi Alain,

You can do this by storing the state when the app closes or at various points in your app usage.  It is not a perfect solution in that the app truly does re-open again. All your variable data will be lost.  Storing the state of your app and then bringing that state back upon restart of the software is the best thing we have going at this time.

We used this technique to good effect in the LiveEvents app.  It is used when the user needs to validate their email. Upon returning from the email program, the mobile app returns the user to the exact same spot.

You can give this a try in the actual app from here:  http://livecloud.io/runrevlive-14-conference-app/
You can download the source code to the app here: http://livecloud.io/live-events-source/


Best regards,

Mark Talluto
livecloud.io
canelasoftware.com




More information about the use-livecode mailing list