On Jun 19, 2014, at 12:13 PM, Quincey Morris wrote:

> 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
> 

Thanks.  That's a good one I certainly missed.

> 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™.
> 

Heh, thanks.  I was simply putting an NSLog in there to see if I could 
determine what was happening - since I couldn't find that clearly documented 
anywhere.

All is calm, all is well.  Nothing to see here.  Please move along.

Cheers, 
- Alex Zavatone.
_______________________________________________

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]

Reply via email to