SpokenDistanceFormatter
public class SpokenDistanceFormatter: DistanceFormatter
Provides appropriately formatted, localized descriptions of linear distances for voice use.
-
Returns a more human readable
Stringfrom a givenCLLocationDistance.The user’s
Localeis used here to set the units.Declaration
Swift
public override func string(from distance: CLLocationDistance) -> String
Install in Dash
SpokenDistanceFormatter Class Reference