Hi there,
isn't it possible for a LiveCode-App to stay running in background on iOS? Everytime I push the Home-Button on my iPhone the App will restart completely. That's bad.
iOS in background
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: iOS in background
Hi Lars,
The short answer is no... not LC but iOS, same with Android.
There is some stuff about running for an extra 10 minutes otherwise as soon as the memory is needed your app will get shut down.
There are some tricks to dealing with this like writing out a "preference" or "state" file that you write on closeStack and read on preOpenStack. Plenty of posts about that in these forums.
Simon
The short answer is no... not LC but iOS, same with Android.
There is some stuff about running for an extra 10 minutes otherwise as soon as the memory is needed your app will get shut down.
There are some tricks to dealing with this like writing out a "preference" or "state" file that you write on closeStack and read on preOpenStack. Plenty of posts about that in these forums.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- Posts: 216
- Joined: Wed Feb 27, 2013 9:04 pm
Re: iOS in background
Hi Simon,
thank you for your fast answer. This is what I meant - the max-10min-thing
Is there a way to let the app open for this time in background?
thank you for your fast answer. This is what I meant - the max-10min-thing

Is there a way to let the app open for this time in background?
Re: iOS in background
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- Posts: 216
- Joined: Wed Feb 27, 2013 9:04 pm
Re: iOS in background
Perfect - thank you 
