Can we detect when our apps have been closed by users? Closestack, suspend and shutdown don't seem to work.
Gerry
Detecting when an iOS app quits
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Detecting when an iOS app quits
14" MacBook Pro
Former LiveCode developer.
Now recovering.
Former LiveCode developer.
Now recovering.
Re: Detecting when an iOS app quits
Don't really know, but maybe suspend or suspendStack works?
I'd consider this a bug, probably?
I'd consider this a bug, probably?
Various teststacks and stuff:
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
Re: Detecting when an iOS app quits
Hi Gerry,
I use
to save data from a data stack in
http://forums.runrev.com/phpBB2/viewtop ... =49&t=6834
It does save the stack.
Kind regards
Bernd
I use
Code: Select all
on shutDown
-- code here
end shutDown
http://forums.runrev.com/phpBB2/viewtop ... =49&t=6834
It does save the stack.
Kind regards
Bernd
Re: Detecting when an iOS app quits
That is so strange. I wrote some code to read a file at openstack and write it at shutdown, and it never seemed to write it. Just tried again, and it did. I guess I need some sleep, or LiveCode needs a rest, or something 
Many thanks

Many thanks

14" MacBook Pro
Former LiveCode developer.
Now recovering.
Former LiveCode developer.
Now recovering.
Re: Detecting when an iOS app quits
Hi Gerry,
In case you run into trouble with a save on shutdown:
make shure it is in the stack script if your stack has more than one card and beware that iOS is case sensitive for file names.
bit me before.
Kind regards
Bernd
In case you run into trouble with a save on shutdown:
make shure it is in the stack script if your stack has more than one card and beware that iOS is case sensitive for file names.
bit me before.
Kind regards
Bernd