I am adding some notifications for when the user sends the application to the background or when they completely quit the app. However when they quit the app, both the methods applicationDidEnterBackground
and applicationWillTerminate
are called. Why is this so and how can I just have applicationWillTerminate
get called when the user quits the app?
This is objective-c for if anyone is wondering.