• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: iOS 6 built-in view controller save-and-restore disappointing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 15:48:15 -0800

On Nov 9, 2012, at 1:54 PM, David Duncan wrote:

> On Nov 9, 2012, at 1:45 PM, Matt Neuburg <email@hidden> wrote:
>
>>
>> On Nov 9, 2012, at 1:29 PM, David Duncan wrote:
>>
>>> On Nov 9, 2012, at 11:30 AM, Matt Neuburg <email@hidden> wrote:
>>>
>>>> It turns out that the new iOS 6 UIViewController/UIView state restoration does not work through a restart of the device!
>>>
>>> How was the device restarted?
>>
>> I turned it off and then I turned it on.
>
> Well, some people have "restarted" the device by holding home+lock until it rebooted, which is basically a force-reboot and at which point all bets are off.
>
>> 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?

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

  • Follow-Ups:
    • Re: iOS 6 built-in view controller save-and-restore disappointing
      • From: email@hidden
    • Re: iOS 6 built-in view controller save-and-restore disappointing
      • From: David Duncan <email@hidden>
References: 
 >iOS 6 built-in view controller save-and-restore disappointing (From: Matt Neuburg <email@hidden>)
 >Re: iOS 6 built-in view controller save-and-restore disappointing (From: David Duncan <email@hidden>)
 >Re: iOS 6 built-in view controller save-and-restore disappointing (From: Matt Neuburg <email@hidden>)
 >Re: iOS 6 built-in view controller save-and-restore disappointing (From: David Duncan <email@hidden>)

  • Prev by Date: Re: iOS 6 built-in view controller save-and-restore disappointing
  • Next by Date: Re: iOS 6 built-in view controller save-and-restore disappointing
  • Previous by thread: Re: iOS 6 built-in view controller save-and-restore disappointing
  • Next by thread: Re: iOS 6 built-in view controller save-and-restore disappointing
  • Index(es):
    • Date
    • Thread