Type Method


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


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



The object that resolves the request. The information in this object must be confirmed by the user.

Return Value

A new INWorkoutGoalUnitTypeResolutionResult object.


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

class func success(with: INWorkoutGoalUnitType) -> Self

Creates an object whose resolution involves successfully matching the specified parameter.