string(fromDistance:)
Creates a string representation of the specified distance.
Declaration
func string(fromDistance distance: CLLocationDistance) -> StringParameters
- 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.