<!--
{
  "documentType" : "article",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/state-restoration-keys",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "State restoration keys"
}
-->

# State restoration keys

Keys that are available in restoration archives.

## Topics

### Keys

[`class let stateRestorationViewControllerStoryboardKey: String`](/documentation/UIKit/UIApplication/stateRestorationViewControllerStoryboardKey)

A reference to the storyboard that contains the view controller.

[`class let stateRestorationBundleVersionKey: String`](/documentation/UIKit/UIApplication/stateRestorationBundleVersionKey)

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

[`class let stateRestorationUserInterfaceIdiomKey: String`](/documentation/UIKit/UIApplication/stateRestorationUserInterfaceIdiomKey)

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

[`class let stateRestorationTimestampKey: String`](/documentation/UIKit/UIApplication/stateRestorationTimestampKey)

The time your app created the restoration archive.

[`class let stateRestorationSystemVersionKey: String`](/documentation/UIKit/UIApplication/stateRestorationSystemVersionKey)

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



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)