supportsActivity(_:)
Returns a Boolean value that indicates whether the system supports the specified workout activity .
Declaration
static func supportsActivity(_ activity: HKWorkoutActivityType) -> BoolParameters
- activity:
The activity to check.
Returns a Boolean value that indicates whether the system supports the specified workout activity .
static func supportsActivity(_ activity: HKWorkoutActivityType) -> BoolThe activity to check.