Does anyone see a problem here?
double latDouble = [latString doubleValue];
double lngDouble = [lngString doubleValue];
CGFloat dist = [self calcDiffDistance:latDouble withPostLng:lngDouble];
- (float)calcDiffDistance:(double)postLat withPostLng:(double)lon1
{
...
}
source
share