MKMapRectIntersectsRect抛出EXC_BAD_ACCESS

时间:2012-05-17 03:10:58

标签: iphone objective-c ios5 mapkit

这是一个问题,是由于添加地图图钉/注释并经常发布 造成的?

我的主题跟踪显示:0 obj_msgSend1 MKMapRectIntersectsRect让我知道向地图添加图钉是问题所在。

我有一个表视图,它导致包含地图的详细视图。似乎只有在我快速进入和退出我的详细视图(来自不同单元格的segue)时才会抛出错误。我尝试改变我发布注释的方式并将其从地图视图中删除但无济于事。

崩溃日志:

Thread 0 Crashed:
0   libobjc.A.dylib                 0x37ab5f78 objc_msgSend + 16
1   MyProject                       0x000aa954 0xa2000 + 35156
2   UIKit                           0x33181c84 -[UIViewController view] + 160
3   UIKit                           0x3318e1e2 -[UIViewController contentScrollView] + 18
4   UIKit                           0x3318e052 -[UINavigationController _computeAndApplyScrollContentInsetDeltaForViewController:] + 30
5   UIKit                           0x3318df38 -[UINavigationController _layoutViewController:] + 28
6   UIKit                           0x3318d704 -[UINavigationController _startTransition:fromViewController:toViewController:] + 312
7   UIKit                           0x3318d4fc -[UINavigationController _startDeferredTransitionIfNeeded] + 244
8   UIKit                           0x33181af8 -[UINavigationController pushViewController:transition:forceImmediate:] + 800
9   UIKit                           0x331817ce -[UINavigationController pushViewController:animated:] + 30
10  UIKit                           0x331fa8fc -[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:] + 880
11  UIKit                           0x33274620 -[UITableView _userSelectRowAtPendingSelectionIndexPath:] + 152
12  Foundation                      0x3522e92c __NSFireDelayedPerform + 408
13  CoreFoundation                  0x356e8a2c __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 8
14  CoreFoundation                  0x356e8692 __CFRunLoopDoTimer + 358
15  CoreFoundation                  0x356e7268 __CFRunLoopRun + 1200
16  CoreFoundation                  0x3566a49e CFRunLoopRunSpecific + 294
17  CoreFoundation                  0x3566a366 CFRunLoopRunInMode + 98
18  GraphicsServices                0x37306432 GSEventRunModal + 130
19  UIKit                           0x33176cce UIApplicationMain + 1074
20  MyProject                       0x000a3a46 0xa2000 + 6726
21  MyProject                       0x000a39f0 0xa2000 + 6640

0 个答案:

没有答案
相关问题