Contents

endDate

The ending time and date for this workout session.

Declaration

var endDate: Date? { get }

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 HKWorkoutSessionState.ended.

See Also

Accessing session data