Contents

measurementSystem

The measurement system used by the locale, like metric or the US system.

Declaration

var measurementSystem: Locale.MeasurementSystem?

Discussion

Set this property to override the locale’s default measurement system. To request the default measurement system used by the locale, use the Locale property measurementSystem.

This property corresponds to the ms key of the Unicode BCP 47 extension.

See Also

Specifiying measurement and counting components