On Jul 25, 2017, at 22:28:19, Sixten Otto wrote:
>
> You can set a custom restorationClass on a per view controller basis,
> passing the process of instantiating the controller during restoration
> through your own code that knows how to check whether the document is still
> there. (We do somethi
You can set a custom restorationClass on a per view controller basis,
passing the process of instantiating the controller during restoration
through your own code that knows how to check whether the document is still
there. (We do something similar in our app in some places to make sure that
our Co
There doesn't appear to be any way to cancel state restoration other than from
the app delegate method application:shouldRestoreApplicationState:. So if it's
trying to restore a view controller for a document that is no longer available
on the device, I want to cancel the whole restoration. The