Contents

MKDistanceFormatter

A utility object that converts between a geographic distance and a string-based expression of that distance.

Declaration

class MKDistanceFormatter

Overview

Use a distance formatter to display distances to the user or to parse user-specified text to obtain a numerical value for a distance. When formatting strings containing distances, a distance formatter object takes into account the user’s locale and language settings. You can also specify a custom locale or custom units for any distances that you format.

Topics

Converting distances

Specifying the format

See Also

Map coordinates