Enumeration

MKDistanceFormatterUnits

Constants that reflect the type of units to use in the string.

Declaration

typedef enum MKDistanceFormatterUnits : NSUInteger {
    ...
} MKDistanceFormatterUnits;

Topics

Constants

MKDistanceFormatterUnitsDefault

The format uses the locale information to determine which units to use. Some locales mix metric and imperial units so do not assume this means one or the other.

MKDistanceFormatterUnitsMetric

The format uses metric units.

MKDistanceFormatterUnitsImperial

The format uses imperial units.

MKDistanceFormatterUnitsImperialWithYards

The format uses imperial units that include measurements in yards.

See Also

Specifying the Format

locale

The locale to use when formatting strings.

units

The measuring system (imperial or metric) to use for units.

unitStyle

The preferred style for units.

MKDistanceFormatterUnitStyle

Constants that indicate the format style to use for strings.