How to store CLLocationCoordinate2D?
问题 I'm attempting to build an application that builds and saves routes similar to map my run. I'm using the Breadcrumb sample code, specifically the CrumbPath and CrumbPathView as the base of my routes, from Apple. Two questions: If I try to access the MKMapPoint *points object of the CrumbPath like so: [_route lockForReading]; NSLog(@"%@", _route.points); NSLog(@"%d", _route.pointCount); [_route unlockForReading]; my app crashes, saying: Thread 1: EXC_BAD_ACCESS (code: 1, address: 0x9450342d)