Re: iOS 6 built-in view controller save-and-restore disappointing
Re: iOS 6 built-in view controller save-and-restore disappointing
- Subject: Re: iOS 6 built-in view controller save-and-restore disappointing
- From: Matt Neuburg <email@hidden>
- Date: Fri, 09 Nov 2012 17:04:28 -0800
On Nov 9, 2012, at 4:21 PM, David Duncan wrote:
> On Nov 9, 2012, at 3:48 PM, Matt Neuburg <email@hidden> 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.
_______________________________________________
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