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

> 
> On Nov 9, 2012, at 4:21 PM, David Duncan wrote:
> 
>> 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).
> 
> Thanks as always. Gosh, I hope the fix for this gets into a system update 
> soon; I'd really love to be able to rely on automatic save-and-restore to do 
> all the save-and-restore work for me. Do you need me to do anything else 
> (submit a bug report myself, etc.)? m.


He already filed a bug, so nothing else for you to do. If you want to file a 
duplicate for tracking purposes, the original is 12675617.
--
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