On Jun 19, 2014, at 08:24 , Alex Zavatone <[email protected]> wrote:
> There is no message thrown in the console and the applicationWillTerminate:
> method isn't called at all.
Generally, since iOS 4, applicationWillTerminate: is never invoked. You get
applicationDidEnterBackground, and that’s where you’re supposed to save your
state. (The exception is when you’re doing background processing.)
This is clearly documented here:
https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/ManagingYourApplicationsFlow/ManagingYourApplicationsFlow.html
and a couple of people already mentioned it in this thread. If you’re still
using applicationWillTerminate: in your app, you’re Doing It Wrong™.
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]