---
title: "confirmationRequired(with:)"
framework: intents
role: symbol
role_heading: Type Method
path: "intents/inrestaurantresolutionresult/confirmationrequired(with:)"
---

# confirmationRequired(with:)

Creates an object whose resolution requires that the user must confirm the value before proceeding.

## Declaration

```swift
class func confirmationRequired(with restaurantToConfirm: INRestaurant?) -> Self
```

## Parameters

- `restaurantToConfirm`: The restaurant for the user to confirm.

## Return Value

Return Value A new INRestaurantResolutionResult object.

## Discussion

Discussion Use this method when you can resolve the restaurant to a known establishment but you want the user to confirm that value before proceeding. You might ask for confirmation when there is some doubt that the specified restaurant is what the user intended.

## See Also

### Creating a Resolution Result Object

- [success(with:)](intents/inrestaurantresolutionresult/success(with:).md)
- [disambiguation(with:)](intents/inrestaurantresolutionresult/disambiguation(with:).md)
