The workout’s duration.
- iOS 8.0+
- Mac Catalyst 13.0+
- watchOS 2.0+
A workout’s duration can be specified in one of three ways. The
workout method uses the time interval between the provided start and end dates. The
workout method sets the duration to the provided value. And the
workout method calculates the total active duration based on the start and end dates and the workout events.