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

# scene(_:continue:)

Tells the delegate to handle the specified Handoff-related activity.

## Declaration

```swift
optional func scene(_ scene: UIScene, continue userActivity: NSUserActivity)
```

## Parameters

- `scene`: The scene handling the activity.
- `userActivity`: The object containing the activity-related data. Use the information in this object to continue the user’s activity in your scene.

## Discussion

Discussion Use this method to update the specified scene with the data from the provided activity object. UIKit calls this method on your app’s main thread only after it receives all of the data for an activity object, which might originate from a different device.

## See Also

### Continuing user activities

- [scene(_:willContinueUserActivityWithType:)](uikit/uiscenedelegate/scene(_:willcontinueuseractivitywithtype:).md)
- [scene(_:didFailToContinueUserActivityWithType:error:)](uikit/uiscenedelegate/scene(_:didfailtocontinueuseractivitywithtype:error:).md)
