1

これは、マップ ピン/注釈を追加し、それらを頻繁にリリースすることによって引き起こされる問題です?

私のスレッド トレースには次のように表示0 obj_msgSend1 MKMapRectIntersectsRectれます。これにより、ピンをマップに追加することが問題であることがわかります。

マップを含む詳細ビューにつながるテーブル ビューがあります。エラーがスローされるのは、(さまざまなセルのセグエから) 詳細ビューをすばやくタップしたときだけです。注釈を解放してマップ ビューから削除する方法を変更しようとしましたが、役に立ちませんでした。

クラッシュログ:

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
4

0 に答える 0