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

# confirmationRequired(with:)

Creates an object whose resolution requires the user to confirm the workout unit goal value before proceeding.

## Declaration

```swift
class func confirmationRequired(with workoutGoalUnitTypeToConfirm: INWorkoutGoalUnitType) -> Self
```

## Parameters

- `workoutGoalUnitTypeToConfirm`: The object that resolves the request. The information in this object must be confirmed by the user.

## Return Value

Return Value A new INWorkoutGoalUnitTypeResolutionResult object.

## Discussion

Discussion Use this method when you can resolve the parameter to a similar workout goal and want the user to confirm the change before proceeding.

## See Also

### Creating a Resolution Result Object

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