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