Instance Property

endDate

The ending time and date for this workout session.

Declaration

@property(readonly) NSDate *endDate;

Discussion

This property is set to nil when the workout session is initialized. The system assigns an end date when the session’s state changes to HKWorkoutSessionStateEnded.

See Also

Accessing Session Data

startDate

The starting time and date for this workout session.

state

The workout session’s current state.

workoutConfiguration

The configuration object that describes this workout.