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

# scene(_:willContinueUserActivityWithType:)

Tells the delegate that it’s about to receive Handoff-related data.

## Declaration

```swift
optional func scene(_ scene: UIScene, willContinueUserActivityWithType userActivityType: String)
```

## Parameters

- `scene`: The scene handling the activity.
- `userActivityType`: The type of activity to continue.

## Discussion

Discussion Use this method to prepare to handle an activity with the specified type. After this method returns, UIKit provides feedback to the user that your scene is handling the activity.

## See Also

### Continuing user activities

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