Re: applicationWillTerminate not received
Re: applicationWillTerminate not received
- Subject: Re: applicationWillTerminate not received
- From: David Duncan <email@hidden>
- Date: Tue, 5 Apr 2011 08:37:52 -0700
On Sat, Apr 2, 2011 at 9:53 PM, Quincey Morris <email@hidden> wrote:
> I think you'll need to force a low-memory termination to test the code path through 'applicationWillTerminate:'. I couldn't see an easier way to make it happen with an iOS 4.0 backgroundable multitasking-aware app.
Not even then. On a multitasking device one you go into the background you will either wake up or be SIGKILL'd, including for memory warnings.
On Apr 4, 2011, at 4:20 PM, Jeffrey Walton wrote:
> It sure would be nice if we could count on applicationWillTerminate
> all the time. A SIGKILL without applicationWillTerminate seems kind of
> rude :(
Is there any reason you can't save your state once you enter the background instead?
--
David Duncan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden