Instance Property

delegate

The workout session’s delegate.

Declaration

@property(weak) id<HKWorkoutSessionDelegate> delegate;

Discussion

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

See Also

Monitoring the Session

HKWorkoutSessionDelegate

The session delegate protocol defines an interface for receiving notifications about errors and changes in the workout session’s state.