Contents

delegate

The workout session’s delegate.

Declaration

weak var delegate: (any HKWorkoutSessionDelegate)? { get set }

Discussion

The delegate receives notifications when a workout session’s state changes or when a workout session fails.

See Also

Monitoring the session