MKMapView崩溃

时间:2011-03-30 05:01:38

标签: iphone annotations mkmapview

我无法弄清楚什么时候完全崩溃,因为有时它会发生,大部分时间都没有。添加新注释并且引脚已经下降或者引脚位置发生变化(拖动)时会崩溃。

我的ios版本是4.3.1

崩溃:

Thread 0 Crashed:
0   libobjc.A.dylib                 0x3489dc98 objc_msgSend + 16
1   MapKit                          0x336699a4 -[MKMapView mapTileViewDidStartLoading:] + 40
2   CoreFoundation                  0x33589efc -[NSObject(NSObject) performSelector:withObject:] + 16
3   Foundation                      0x327657a2 __NSThreadPerformPerform + 262
4   CoreFoundation                  0x335f3a72 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 6
5   CoreFoundation                  0x335f5758 __CFRunLoopDoSources0 + 376
6   CoreFoundation                  0x335f64e4 __CFRunLoopRun + 224
7   CoreFoundation                  0x33586ebc CFRunLoopRunSpecific + 224
8   CoreFoundation                  0x33586dc4 CFRunLoopRunInMode + 52
9   GraphicsServices                0x33187418 GSEventRunModal + 108
10  GraphicsServices                0x331874c4 GSEventRun + 56

对不起我的英语,感谢advence

1 个答案:

答案 0 :(得分:-1)

mapTileViewDidStartLoading将此更改为mapViewDidStartLoading