The multitasking feature in iOS is really useful but I have no success in trying to do this with a LiveCode App. Has anyone discovered a way to enable this within a LiveCode project?
It seems that trying to do this via trapping shutdownRequest or suspend requests has no effect. I think there may be a flag in Info.plist to trigger a "run in background" mode but currently there is no option available to access this via the LiveCode standalone settings.
Any thoughts or suggestions welcomed. Many thanks.
Dave
Multitasking in iOS?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Multitasking in iOS?
LiveCode: Versions 8.0, 8.1
Xcode: Version 7.3, 8.0
Mac OS X: 10.11.12 (macOS Sierra) on iMacs with 3.4 Intel Core i7 & 16GB Memory
Creating Apps for educational professionals, effective teaching and learning.
Xcode: Version 7.3, 8.0
Mac OS X: 10.11.12 (macOS Sierra) on iMacs with 3.4 Intel Core i7 & 16GB Memory
Creating Apps for educational professionals, effective teaching and learning.
Re: Multitasking in iOS?
Earlier versions of LC with iOS allowed this, but it was unsupported and buggy. I don't know if it's coming back. What do you need to do? I use "on shutdown" to trap for the user quitting my app and write out some data that helps me restore things when the app is opened again.
Gerry
Gerry
14" MacBook Pro
Former LiveCode developer.
Now recovering.
Former LiveCode developer.
Now recovering.
Re: Multitasking in iOS?
Gerry
Many thanks for the feedback and comment. Trapping the shutdown request and saving variables is very useful on a re-start process to keep data between launches.
But ... all I really wanted to do was to allow the user to multitask to another App and then, on return, continue where they left off without having to re-start and re-show the splash screen again. I guess this is part of the initialisation process on start-up.
However, there is an entry in the Info.plist of "Application does not run in background" set to "YES". I guess this will mitigate against the App doing just that for now!
Thanks again
Dave
Many thanks for the feedback and comment. Trapping the shutdown request and saving variables is very useful on a re-start process to keep data between launches.
But ... all I really wanted to do was to allow the user to multitask to another App and then, on return, continue where they left off without having to re-start and re-show the splash screen again. I guess this is part of the initialisation process on start-up.
However, there is an entry in the Info.plist of "Application does not run in background" set to "YES". I guess this will mitigate against the App doing just that for now!
Thanks again
Dave
LiveCode: Versions 8.0, 8.1
Xcode: Version 7.3, 8.0
Mac OS X: 10.11.12 (macOS Sierra) on iMacs with 3.4 Intel Core i7 & 16GB Memory
Creating Apps for educational professionals, effective teaching and learning.
Xcode: Version 7.3, 8.0
Mac OS X: 10.11.12 (macOS Sierra) on iMacs with 3.4 Intel Core i7 & 16GB Memory
Creating Apps for educational professionals, effective teaching and learning.