Contents

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) -> Bool

Parameters

  • activity:

    The workout’s activity type.

  • location:

    The workout’s location type.