On Nov 9, 2012, at 3:48 PM, Matt Neuburg <m...@tidbits.com> wrote:

>>> Why - are you suggesting it *is* supposed to work through a restart??? m.
>> 
>> Yes it is.
> 
> Well, it doesn't for *any* app that I've written that uses the new automatic 
> save-and-restore - and I've written half a dozen, as test cases. They all 
> work, in the sense that I can test in the normal way: e.g., run from Xcode, 
> click the Home button (on the device or Simulator), stop in Xcode, and run 
> from Xcode again - presto, we launch with restore (proven by how it looks, by 
> logging, etc.).
> 
> But if we put the application on a device, launch it from the device, click 
> Home, restart the device, and then launch from the device again, there is no 
> state restoration: we are doing a cold start.
> 
> Do you actually *experience* the contrary? If so, is there some piece of the 
> puzzle needed here in my code that would make the difference between 
> save-and-restore working *most* of the time and save-and-restore working even 
> after the device is restarted?


The engineer responsible just discovered a bug that was causing the auto-save 
state to be deleted in the reboot case (its being saved, but deleted afterwards 
by the reboot process).
--
David Duncan


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to