Is there any way to detect if the application fully closes? Not only minimize but fully close application? I want to run a code that delete a NSUserDefault key when the application closes. Is this possible?
In your AppDelegate there's a method:
applicationWillTerminate
You can probably take care of what you need to there.
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