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: Roland King <email@hidden>
- Date: Sat, 10 Nov 2012 09:51:40 +0800
>
> On 10 Nov, 2012, at 7:53 AM, Matt Neuburg <email@hidden> wrote:
>
>>
>> By the way, while I'm complaining, another annoying thing is that the WWDC video on this topic shows a bogus method of testing. The video pretends that killing the app by double-clicking the Home button and clicking the app's "x" to kill it is a way of testing. It is *not*. That will in fact wipe out any saved state; your next start will be a cold start. The docs confirm this. The WWDC video is misleading in this
>
> Well that's a bit odd as it did work for the dude in the video and I can't believe he was faking it somehow. Is this another bug or did it change since WWDC?
>
> Can you point to where the docs say that too please, seems odd that killing the app manually should cause the next restart to be cold, unless someone considered that there had to be a way out of an unrecoverable stored state.
Ah I found it - I did the stupid thing of reading the UIViewController class docs and following the recommendation there "For more information about the preservation and restoration process, see View Controller Programming Guide for iOS.". In fact the View Controller Programming Guide for iOS doesn't mention restoration at all, not even once, it's in the iOS App Programming Guide instead. Another docs bug filed.
_______________________________________________
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