Contents

supportsActivity(_:)

Returns a Boolean value that indicates whether the system supports pacer workouts for the given workout activity type.

Declaration

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

Parameters

  • activity:

    The target workout activity type.

See Also

Creating a new pacer workout