Global Variable


The version of your app responsible for creating the restoration archive.


NSString *const UIApplicationStateRestorationBundleVersionKey;


The value of this key is an NSString object that identifies the version of your app (as obtained from the CFBundleVersion key of your app’s Info.plist file) was was present when the state information was saved. You can use the value of this key to help make choices about how to proceed during state restoration. For example, if the key indicates that the state is associated with an older version of your app, you might want to avoid restoring the previous state altogether or modify the restoration process more significantly.

See Also

Managing App State Restoration

- application:shouldSaveApplicationState:

Asks the delegate whether the app’s state should be preserved.

- application:shouldRestoreApplicationState:

Asks the delegate whether the app’s saved state information should be restored.

- application:viewControllerWithRestorationIdentifierPath:coder:

Asks the delegate to provide the specified view controller.

- application:willEncodeRestorableStateWithCoder:

Tells your delegate to save any high-level state information at the beginning of the state preservation process.

- application:didDecodeRestorableStateWithCoder:

Tells your delegate to restore any high-level state information as part of the state restoration process.


The version of the system on which your app created the restoration archive.


The time at which your app created the restoration archive.


The user interface idiom that was in effect when your app created the restoration archive.


A reference to the storyboard that contains the view controller.