CLLocation *test1 = [[CLLocation alloc] initWithLatitude:42.27818011 longitude: -71.39553308];
CLLocation *test2 = [[CLLocation alloc] initWithLatitude:42.27818012 longitude: -71.39553308];
double diff = 0;
diff = [test1 getDistanceFrom:test2];
diff is -347598198. I can't get this to work at all.
CLLocation *test2 = [[CLLocation alloc] initWithLatitude:42.27818012 longitude: -71.39553308];
double diff = 0;
diff = [test1 getDistanceFrom:test2];
diff is -347598198. I can't get this to work at all.