---
title: "scene(_:restoreInteractionStateWith:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uiscenedelegate/scene(_:restoreinteractionstatewith:)"
---

# scene(_:restoreInteractionStateWith:)

## Declaration

```swift
optional func scene(_ scene: UIScene, restoreInteractionStateWith stateRestorationActivity: NSUserActivity)
```

## See Also

### Saving the state of the scene

- [Restoring your app’s state](uikit/restoring-your-app-s-state.md)
- [stateRestorationActivity(for:)](uikit/uiscenedelegate/staterestorationactivity(for:).md)
- [scene(_:didUpdate:)](uikit/uiscenedelegate/scene(_:didupdate:).md)
