I need to calculate distance between Latitude and Longitude using Great Circle Formula.
One way I know, is to use the following:
CLLocation *locA = [[CLLocation alloc] initWithLatitude:lat1 longitude:long1];
CLLocation *locB = [[CLLocation alloc] initWithLatitude:lat2 longitude:long2];
CLLocationDistance distance = [locA distanceFromLocation:locB];
But, I am not sure if it used Great Circle Distance algorithm for calculations. Does anyone have any idea about this? Help is much appreciated.