On Sat, Apr 2, 2011 at 9:53 PM, Quincey Morris <[email protected]> 
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 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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to