0
CLLocation *useOne = [[CLLocation alloc] initWithLatitude:40.074744 longitude:116.240179];
CLLocation *useTwo = [[CLLocation alloc] initWithLatitude:40.079106 longitude:116.243469];
CLLocationDistance distance = [useOne distanceFromLocation:useTwo];
NSLog(@"%d",distance);
但我得到的結果是「距離= 1921570242」米。絕對這個結果是不正確的。DistanceFromLocation錯誤
那麼我錯在哪裏?