UnitsConfiguration
public struct UnitsConfiguration
A type representing the units of measurement chosen for presenting values.
-
The unit of length in which distances should be presented. One of
UnitLength.miles
orUnitLength.kilometers
.Declaration
Swift
public let distance: UnitLength
-
The unit of length in which heights should be presented. One of
UnitLength.feet
orUnitLength.meters
.Declaration
Swift
public let height: UnitLength