Contents

stateRestorationViewControllerStoryboardKey

A reference to the storyboard that contains the view controller.

Declaration

class let stateRestorationViewControllerStoryboardKey: String

Discussion

The value of this key is a UIStoryboard object representing the storyboard from which a view controller was initially obtained. You don’t need to write this key to the coder yourself. Each UIViewController class automatically writes this key to the coder during the state preservation process.

See Also

Managing app state restoration