MKMapView crash

淺唱寂寞╮ 提交于 2019-12-10 11:20:01

问题


I could not figure out when exactly crash, because sometimes it happens and most time not. It crash when added new annotation and the pin has dropped down, or when the pin location has changed(drag).

My ios version is 4.3.1

Crash:

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

Sorry for my English, thanks in advence


回答1:


mapTileViewDidStartLoading change this to mapViewDidStartLoading



来源:https://stackoverflow.com/questions/5482055/mkmapview-crash

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!