• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: applicationWillTerminate not received
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >applicationWillTerminate not received (From: Jeffrey Walton <email@hidden>)
 >Re: applicationWillTerminate not received (From: Quincey Morris <email@hidden>)
 >Re: applicationWillTerminate not received (From: Jeffrey Walton <email@hidden>)

  • Prev by Date: AVFoundation and YouTube?
  • Next by Date: Re: NSString, stringByAppendingPathComponent, and Canonicalization
  • Previous by thread: Re: applicationWillTerminate not received
  • Next by thread: Re: applicationWillTerminate not received
  • Index(es):
    • Date
    • Thread