When an app crashes does either the 'applicationWillTerminate' or 'applicationDidEnterBackground' get called or am I hoping for too much?
Apple's documentation states "This [applicationWillTerminate] method lets your application know that it is about to be terminated and purged from memory entirely". When an app crashes it gets "terminated and purged from memory" right? So does that mean it gets called?
This is all in relation to the iPhone and iOS just to be stupidly clear.
When an app crashes, it usually gets killed immediately.
No delegates or methods or delegate methods get called after that, since the being-killed app is probably in a really bad state and whatever data you might want to write out could be corrupted and non-usable.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With