supports(activity:location:)
Returns a Boolean value that indicates whether the alert supports the provided activity and location.
Declaration
func supports(activity: HKWorkoutActivityType, location: HKWorkoutSessionLocationType) -> BoolParameters
- activity:
The workout’s activity type.
- location:
The workout’s location type.