You should create an object of CLLocation using,
- (id)initWithLatitude:(CLLocationDegrees)latitude
longitude:(CLLocationDegrees)longitude;
Then, you should be able to calculate the distance using
[location1 distanceFromLocation:location2];
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…