• 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
applicationWillTerminate not received
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

applicationWillTerminate not received


  • Subject: applicationWillTerminate not received
  • From: Jeffrey Walton <email@hidden>
  • Date: Sat, 02 Apr 2011 21:01:46 -0400

Hi All,

I'm using NSLog and breakpoints to trace application life cycle
messages on an iPhone. I'm receiving applicationDidBecomeActive,
applicationWillResignActive, applicationDidEnterBackground,
applicationWillEnterForeground, etc as expected.

If I perform the following, the application does not appear to receive
the applicationWillTerminate message.
* enter background by pressing Home
* double press Home to list tasks
* delete the [background] task (tap down and hold for 'Red X')

I planned on saving some state when the applicationWillTerminate was
invoked. Are things working as expected? Should I abandon my plans to
save state during termination?

Jeff
_______________________________________________

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

  • Follow-Ups:
    • Re: applicationWillTerminate not received
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: An "Open With..." submenu...
  • Next by Date: Re: applicationWillTerminate not received
  • Previous by thread: Re: Track Splitter
  • Next by thread: Re: applicationWillTerminate not received
  • Index(es):
    • Date
    • Thread