---
title: stateRestorationSystemVersionKey
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uiapplication/staterestorationsystemversionkey
---

# stateRestorationSystemVersionKey

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

## Declaration

```swift
class let stateRestorationSystemVersionKey: String
```

## Discussion

Discussion The value of this key is an NSString object containing the iOS system version that was installed when the archive was saved. The format of this string matches the format of the value in the systemVersion property of the UIDevice class.

## See Also

### Managing app state restoration

- [application(_:shouldSaveSecureApplicationState:)](uikit/uiapplicationdelegate/application(_:shouldsavesecureapplicationstate:).md)
- [application(_:shouldRestoreSecureApplicationState:)](uikit/uiapplicationdelegate/application(_:shouldrestoresecureapplicationstate:).md)
- [application(_:viewControllerWithRestorationIdentifierPath:coder:)](uikit/uiapplicationdelegate/application(_:viewcontrollerwithrestorationidentifierpath:coder:).md)
- [application(_:willEncodeRestorableStateWith:)](uikit/uiapplicationdelegate/application(_:willencoderestorablestatewith:).md)
- [application(_:didDecodeRestorableStateWith:)](uikit/uiapplicationdelegate/application(_:diddecoderestorablestatewith:).md)
- [stateRestorationBundleVersionKey](uikit/uiapplication/staterestorationbundleversionkey.md)
- [stateRestorationTimestampKey](uikit/uiapplication/staterestorationtimestampkey.md)
- [stateRestorationUserInterfaceIdiomKey](uikit/uiapplication/staterestorationuserinterfaceidiomkey.md)
- [stateRestorationViewControllerStoryboardKey](uikit/uiapplication/staterestorationviewcontrollerstoryboardkey.md)
