MKMapView 崩溃 [英] MKMapView crash

查看:28
本文介绍了MKMapView 崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道什么时候崩溃,因为有时它会发生,而大多数时候不会.当添加新的注解并且大头针下降时,或者当大头针位置改变(拖动)时它会崩溃.

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).

我的ios版本是4.3.1

My ios version is 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

对不起我的英语,提前谢谢

Sorry for my English, thanks in advence

推荐答案

mapTileViewDidStartLoading 将此更改为 mapViewDidStartLoading

mapTileViewDidStartLoading change this to mapViewDidStartLoading

这篇关于MKMapView 崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆