ApplicationExit problem and question

Hi everyone,

This is not really a bug just that i am not sure where else to post it. I understand that there is an event.type called applicationExit when you press the iphone home button. I managed to save the state and load it back when the player clicks the app from list of opened apps that will show after double tapping home button. Here is the problem.

I want the application to not load back the state when the player totally exits the application and relaunch the application by clicking the icon that is on the iphone desktop. I want it to start from my splash screen page but I can’t seem to figure a way to know whether the app is being reloaded from the list of open apps or totally relaunch from the start.

Hope what i wrote makes sense and hope there is a solution to this. [import]uid: 39846 topic_id: 10651 reply_id: 310651[/import]

Err. It’s ok. I just realized you can add

UIApplicationExitsOnSuspend = false

to build.settings and the app will suspend itself without needing to manually save state. Will only work for iphone 4 though since multitasking was introduced when it came out. [import]uid: 39846 topic_id: 10651 reply_id: 38680[/import]