Contents

supportsActivity(_:)

Returns a Boolean value that indicates whether the system supports the provided workout activity.

Declaration

static func supportsActivity(_ activity: HKWorkoutActivityType) -> Bool

Parameters

  • activity:

    The target workout activity type.

See Also

Creating single goal workouts