这是我的崩溃
崩溃地址要么是,要么0x00000000
有时0x00000001
甚至是0x00000002
我在使用 Map Kit 时崩溃了。我正在从数据库向地图添加大量叠加层。此崩溃看起来与将实际叠加层绘制到地图上有关。我以通常的方式添加 MKPolyLines。
MKPolyline* pathOverlay = [MKPolyline polylineWithCoordinates:locations count:pathIndex];
free(locations);
[overlays addObject:pathOverlay];
...
[self.mapView addOverlays:overlays];
有没有人有什么建议?如果需要,我可以发布更多代码。
谢谢。