Page 1 of 1

Application restart when brought to the front

Posted: Thu Oct 05, 2017 9:19 pm
by mvillion
Hi all
I have an iPad application and I have noticed that if I click the home button and then go back into the app, it has restarted from the beginning.

What am I missing here? I would have thought it would just carry on from where it left off.

Thanks
Matt

Re: Application restart when brought to the front

Posted: Thu Oct 05, 2017 9:28 pm
by LiveCode_Panos
Hi Matt,

You have to use LiveCode 9.0 DP-7 or above to allow your app running in the background. In the standalone settings you have to check the "Enable Background Execution" (note this is an experimental feature)

If you develop in LC 8.1.x, you can still achieve that, but it involves "hacking" the plist file.

Best regards,
Panos
--

Re: Application restart when brought to the front

Posted: Thu Oct 05, 2017 10:40 pm
by mvillion
Simples.

Thanks

Re: Application restart when brought to the front

Posted: Mon Feb 11, 2019 8:07 pm
by byrones15
I haven't upgraded to v9. Was the "Enable Background Execution" feature implemented in the final release? Does it break anything?