Contents

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) -> Self

Parameters

  • 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.

See Also

Creating a Resolution Result Object