Instance Method

stringFromDistance:

Creates a string representation of the specified distance.

Declaration

- (NSString *)stringFromDistance:(CLLocationDistance)distance;

Parameters

distance

The distance value that you want to convert to a string.

Return Value

A user-readable string that describes the distance based on the formatter settings.

See Also

Converting Distances

- distanceFromString:

Returns the distance value parsed from the specified string.