---
title: "confirmationRequired(with:)"
framework: intents
role: symbol
role_heading: Type Method
path: "intents/inworkoutlocationtyperesolutionresult/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 workoutLocationTypeToConfirm: INWorkoutLocationType) -> Self
```

## Parameters

- `workoutLocationTypeToConfirm`: The object that resolves the request but must be confirmed by the user.

## Return Value

Return Value A new INWorkoutLocationTypeResolutionResult object.

## Discussion

Discussion Use this method when you can resolve the parameter to a similar workout location and want the user to confirm that location choice.

## See Also

### Creating a Resolution Result Object

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