2011-03-30 54 views
2

我搞不​​明白什么时候崩溃,因为有时会发生,大部分时间没有。当添加新注释并且引脚已经下降,或者引脚位置已经改变(拖动)时,它会崩溃。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

对不起,我的英语,由于使用前请先

回答

-1

mapTileViewDidStartLoading更改为mapViewDidStartLoading

+0

很抱歉,但我嚣不知道你的意思:(实际上它在这条线上崩溃了:[MKMapView mapTileViewDidStartLoading:]。我不知道这是什么类型的方法(参见崩溃日志) – altosh 2011-03-31 03:38:18

+0

嘿更改函数名称映射mapTileViewDidStartLoading mapViewDidStartLoading.because mapTileViewDidStartLoading真的不是函数原始代码.so更改此 – 2011-03-31 07:44:42