---
title: "confirmationRequired(with:)"
framework: intents
role: symbol
role_heading: Type Method
path: "intents/indatecomponentsresolutionresult/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 dateComponentsToConfirm: DateComponents?) -> Self
```

## Parameters

- `dateComponentsToConfirm`: The date for the user to confirm.

## Return Value

Return Value A new INDateComponentsResolutionResult object.

## Discussion

Discussion Use this method when you can resolve the parameter to a single object but you want the user to confirm that value before proceeding. You might ask for confirmation when there is some doubt that the specified object is what the user intended. For example, when booking a restaurant reservation, you might ask the user to confirm a date that is close, but not exactly the same, to the one that was requested.

## See Also

### Creating a Resolution Result Object

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