Locale

extension Locale
  • Returns locale’s unit system. Important: This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public var unitSystem: UnitsSystem { get }