CLLocation distanceFromLocation (in Swift?)
2 answers
func distanceFromLocation(_ location: CLLocation!) -> CLLocationDistance
Returns the distance (in meters) from the location of the receivers to the specified location.
More details here https://developer.apple.com/library/ios/documentation/CoreLocation/Reference/CLLocation_Class/index.html#//apple_ref/occ/instm/CLLocation/distanceFromLocation :
+4
source to share