Just a quick question on Core Location, I\'m trying to calculate the distance between two points, code is below:
-(void)locationChange:(CLLocation *)newL
#import CLLocation *locA = [[CLLocation alloc] initWithLatitude:"Value" longitude:"Value"]; CLLocation *locB = [[CLLocation alloc] initWithLatitude:"Value" longitude:"Value"]; CLLocationDistance distance = [locA distanceFromLocation:locB]; NSLog(@"distance:-%f",distance);//distance in Miter