Contents

supportsActivity(_:)

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

Declaration

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

Parameters

  • activity:

    The activity to check.

See Also

Creating custom workouts