operatingSystemVersion
A string that identifies the operating system used to save a sample.
Declaration
var operatingSystemVersion: OperatingSystemVersion { get }Discussion
For samples saved on watchOS 4.0, HealthKit sets the operating system property to {4, 0, 0}.