confirmationRequired(with:)
Creates an object whose resolution requires the user to confirm the workout unit goal value before proceeding.
Declaration
class func confirmationRequired(with workoutGoalUnitTypeToConfirm: INWorkoutGoalUnitType) -> SelfParameters
- workoutGoalUnitTypeToConfirm:
The object that resolves the request. The information in this object must be confirmed by the user.
Return Value
A new INWorkoutGoalUnitTypeResolutionResult object.
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.