Test
_
Sent from http://runtime-revolution.278305.n4.nabble.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
That's good to know. Now all we need is an Android equivalent.
On 11/17/20 4:39 PM, Mark Smith wrote:
And just a reminder that, under iOS, you’ll have to register to receive a “
UIApplicationWillResignActiveNotification” message, and then write a handler to respond to that
(PS only register
Thanks to all who replied on this topic - lots of this is new to me! So far,
for me the big thing missing is how to **force** iOS to continue sending
messages to the app in the background, or alternatively force iOS itself to ask
the user the question when the app calls for location data for
And just a reminder that, under iOS, you’ll have to register to receive a “
UIApplicationWillResignActiveNotification” message, and then write a handler to
respond to that (PS only register once in your stack script — I learned the
hard way). It’s documented under mergNotify in the dictionary
On iOS use mergNotify as below. Works well for me.
on openStack
mergNotify "UIApplicationWillResignActiveNotification"
mergNotify "UIApplicationDidBecomeActiveNotification"
end openStack
on UIApplicationWillResignActiveNotification pUserInfo
// Your code before the app goes to background
Android has always acted like this and now that iOS apps run in the
background like Android does, it behaves the same way. At least our
problems are cross-platform now.
An app will stay in RAM until the user specifically quits or until the OS
needs the memory. When that happens, the OS wipes
I’m not sure what you mean with ”suspend” on mobile. You only run one
application at a time. If your app goes out due to a phone call or any other
event it will normally quit your app and send a closeStack message and some
more. If you want to create an application that doesn’t allow the screen
Sorry if this is documented somewhere but I can’t find it.
On desktop platforms, LC gives us “suspend” which is fired when the app goes
into the background. I seem to be having some problems with iOS, in that when
the screen locks (triggered by user action or a time limit), my app seems to