0
这个错误的含义是什么?MKMapKit错误:MKMapPointsPerMeterAtLitude EXC_BAD_ACCESS
MKMapPointsPerMeterAtLatitude EXC_BAD_ACCESS
碰巧的是,当我尝试新的MKAnnotation添加到的MKMapView。
这个错误的含义是什么?MKMapKit错误:MKMapPointsPerMeterAtLitude EXC_BAD_ACCESS
MKMapPointsPerMeterAtLatitude EXC_BAD_ACCESS
碰巧的是,当我尝试新的MKAnnotation添加到的MKMapView。
解决方案由OP。
Problem has been: I was generating random coords in some area. So, my number has mistaken data type. Not "100." (CGFloat), but "100" (NSUInteger). So 100/1000 was 0, not 0.1 (100./1000). After this bad math system returns coords that never exists on Earth.
发表了一些代码。 – priyanka 2012-04-05 06:09:34