Order of CLLocation objects in -distanceFromLocation:
问题 This is my first time posting a question here, but I have found a lot of help from other people's questions. My question refers to the -distanceFromLocation: function in CLLocation . I had assumed that finding the distance between point A and point B would be the same as that between point B and point A, but I have found that it is not. I have tested this in a very simple case: CLLocation *test1 = [[CLLocation alloc] initWithLatitude:37.529530 longitude:-122.259232]; CLLocation *test2 = [