I have a main view which saves state when it is closed or deactivated.
But if the app is shut down, (low power, deliberate closure, whatever) neither of these events are called and the data isnt saved.
The App class doesnt have a cancelclose or close() event I could tap into.
Looks good Jason…
I’ll give that a try, thank you!
[quote]Jason King 31 Jan 2015 Pre-Release Testers
I was going to add some of the delegate methods that deal with notifications but that is going to take additional work in creating a few separate classes so I’m actually going to leave it for a later time.
Here is the project: https://www.dropbox.com/s/ornbgst9rmme6t7/improved%20iosapplication.xojo_binary_project?dl=0
To use simply add the class to your project and change the super of the App object in your project from iOSApplication to ImprovedIOSApplication. Then implement the events you want and that’s it.
Enjoy![/quote]