If a user kills an iOS app, there is no applicationExit event. This is not a Corona issue but the way iOS works. When your app receives an applicationSuspend event, you must assume that the app will get killed by the OS if it needs the memory and save the state. It will not wake up the app to give it an exit event if it needs to kill it while it’s suspended. You must treat every applicationSuspend as an exit and save the state…
You can record the fact that you received an applicationSuspend and if the app is restarted, the main.lua code will execute and you will get an applicationStart event and you can than check to see if the last event was Exit or Suspend and handle the situation.
Application crash will be the same thing except you won’t get a chance to save any state information. While your app is running you could store some information in a file to indicate the app is running and check it the next time you get an applicationStart event. Saving the state at certain milestones will allow you to track where the app is at in case of a crash or being killed by the user or OS. [import]uid: 7559 topic_id: 25723 reply_id: 139293[/import]