import Mapkit Set units to one of .Default, .Metric, .Imperial, .ImperialWithYards:
formatter.units = .Metric
var answer = formatter.stringFromDistance(distance)
// "40 m"
formatter.units = .ImperialWithYards
answer = formatter.stringFromDistance(distance)
// "50 yards"
...