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

# confirmationRequired(with:)

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

## Declaration

```swift
class func confirmationRequired(with visualCodeTypeToConfirm: INVisualCodeType) -> Self
```

## Parameters

- `visualCodeTypeToConfirm`: The value that resolves the request, for the user to confirm.

## Return Value

Return Value A new INVisualCodeTypeResolutionResult object.

## Discussion

Discussion Use this method when you can’t provide the requested type of code but can provide a code of some type.

## See Also

### Creating a Resolution Result Object

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