【发布时间】:2011-03-06 07:05:37
【问题描述】:
有人看到这里的问题吗?
double latDouble = [latString doubleValue];
double lngDouble = [lngString doubleValue];
CGFloat dist = [self calcDiffDistance:latDouble withPostLng:lngDouble]; // Incompatible types in initialization
- (float)calcDiffDistance:(double)postLat withPostLng:(double)lon1
{
...
}
【问题讨论】:
标签: objective-c cgfloat