지도와 핀이 많은보기가 있습니다. 나는 핀을 클러스터링하고 단일 주석을 나타 내기 위해 확대 할 때 모두 작동합니다. 대신 앱을 축소하려고 할 때 충돌이 발생합니다.스위프트 : 클러스터가있는지도에서 축소 할 때 충돌이 발생합니다.
이 오류 메시지가 있지만 문제를 이해하기가 쉽지 않습니다.
Google에서 검색하고 StackOverflow 내부에서 성공했지만 성공하지 못했습니다.
나는 이미 본 : iOS : App crashes when zooming out a map
누군가가 나를 도울 수 있습니까? 미리 답변 해 주셔서 감사합니다. *** 먼저 던져 호출 스택 : ( 0 CoreFoundation에서의 0x000000010f98b1ab - '키가 될 수 없습니다 전무 [: forKey : __ NSDictionaryM의 setObject :] * :'
* 인해 캐치되지 않는 예외 'NSInvalidArgumentException'응용 프로그램 종료, 이유는 __exceptionPreprocess + 171
1 libobjc.A.dylib 0x000000010a909f41 objc_exception_throw + 48
2 CoreFoundatio 0x000000010f9caf9c _CFThrowFormattedException + 194
3 CoreFoundation 0x000000010f89f918 -[__NSDictionaryM setObject:forKey:] + 952
4 MapKit 0x000000010be8007a -[MKNewAnnotationContainerView _existingClusterViewsForClusterID:] + 174
5 MapKit 0x000000010be7f79c -[MKNewAnnotationContainerView addAnnotationView:allowAnimation:] + 173
6 MapKit 0x000000010bdf99f0 -[MKMapView addAnnotationRepresentation:allowAnimation:] + 727
7 MapKit 0x000000010beb6420 -[MKAnnotationManager _addRepresentationForAnnotation:] + 838
8 MapKit 0x000000010beb45b2 -[MKAnnotationManager addRepresentationsForAnnotations:] + 494
9 MapKit 0x000000010bdf1661 -[MKMapView annotationContainer:requestAddingClusterForAnnotationViews:] + 675
10 MapKit 0x000000010be80260 -[MKNewAnnotationContainerView _updateClusterableAnnotationViews:withID:] + 461
11 CoreFoundation 0x000000010f90fea2 -[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:] + 226
12 MapKit 0x000000010be8125e -[MKNewAnnotationContainerView updateAnnotationViewsForReason:] + 299
13 MapKit 0x000000010bf7b17a -[MKAnnotationContainerView finishAddingAnnotationViews] + 29
14 MapKit 0x000000010bdfa315 -[MKMapView annotationManager:didAddAnnotationRepresentations:] + 53
15 MapKit 0x000000010beb5737 -[MKAnnotationManager updateVisibleAnnotations] + 1876
16 MapKit 0x000000010bde81b2 -[MKMapView _didChangeRegionMidstream:] + 223
17 MapKit 0x000000010bded5a1 -[MKMapView mapLayer:didChangeRegionAnimated:] + 79
18 VectorKit 0x0000000113e09125 -[VKMapView map:didChangeRegionAnimated:] + 122
19 VectorKit 0x0000000113e84e3b __58-[VKMapCameraController zoom:withPoint:completionHandler:]_block_invoke.145 + 62
20 VectorKit 0x0000000113e3b97d -[VKAnimation stopAnimation:] + 109
21 VectorKit 0x0000000113e3bd65 -[VKTimedAnimation stopAnimation:] + 47
22 VectorKit 0x0000000113e3be47 -[VKTimedAnimation onTimerFired:] + 47
23 VectorKit 0x0000000113db5e46 _ZN2md16AnimationManager12onTimerFiredEd + 298
24 VectorKit 0x000000011405bff1 _ZN2md9MapEngine11layoutSceneEdb + 85
25 VectorKit 0x000000011405bf85 -[_MapEngineRenderQueueSource renderQueueForTimestamp:] + 27
26 VectorKit 0x000000011411d10c -[MDDisplayLayer drawToTexture:withTimestamp:completionHandler:prepareHandler:] + 139
27 VectorKit 0x000000011427222f __33-[GGLOpenGLESLayer onTimerFired:]_block_invoke + 87
28 VectorKit 0x0000000114279ad7 _ZN3ggl10OESContext17performWhileBoundEU13block_pointerFvvE + 163
29 VectorKit 0x0000000114271ff7 -[GGLOpenGLESLayer onTimerFired:] + 111
30 VectorKit 0x000000011405f031 _ZN2md9MapEngine11renderSceneEdNSt3__18functionIFvvEEE + 93
31 VectorKit 0x000000011405d8cc _ZN2md9MapEngine18onRenderTimerFiredEd + 158
32 VectorKit 0x00000001142750f8 _ZN3ggl11DisplayLink12onTimerFiredEd + 32
33 VectorKit 0x0000000114274ffa -[_GGLDisplayLinkTarget displayLinkFired:] + 81
34 QuartzCore 0x000000010c268778 _ZN2CA7Display11DisplayLink14dispatch_itemsEyyy + 684
35 QuartzCore 0x000000010c3a4970 _ZL22display_timer_callbackP12__CFMachPortPvlS1_ + 248
36 CoreFoundation 0x000000010f91a9c9 __CFMachPortPerform + 169
37 CoreFoundation 0x000000010f91a909 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
38 CoreFoundation 0x000000010f91a871 __CFRunLoopDoSource1 + 465
39 CoreFoundation 0x000000010f912654 __CFRunLoopRun + 2596
40 CoreFoundation 0x000000010f9119b9 CFRunLoopRunSpecific + 409
41 GraphicsServices 0x0000000115b389c6 GSEventRunModal + 62
42 UIKit 0x000000010c523948 UIApplicationMain + 159
43 atriptoitaly 0x0000000109f3dfd7 main + 55
44 libdyld.dylib 0x0000000110ab7d81 start + 1) libc++abi.dylib: terminating with uncaught exception of type NSException
고마워요. 이것으로 시간을 절약했습니다. –
도움이 된 것을 기쁘게 생각합니다 :) –