Enumeration

MKDistanceFormatterUnitStyle

Constants that indicate the format style to use for strings.

Declaration

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

Topics

Constants

MKDistanceFormatterUnitStyleDefault

The decision to abbreviate is based on the current locale and user language settings.

MKDistanceFormatterUnitStyleAbbreviated

Use abbreviated units. For example, use the abbreviation km instead of kilometer.

MKDistanceFormatterUnitStyleFull

Spell out units in full. For example, use kilometer instead of the abbreviation km.

See Also

Specifying the Format

locale

The locale to use when formatting strings.

units

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

MKDistanceFormatterUnits

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

unitStyle

The preferred style for units.