Jake Behrens |
I'm a Software Engineer. I help developers make amazing software. You can reach me on twitter or by email. |
If you’re using an MKMapView and you have:
mapView.delegate = self;
There is not currently an API in MapKit to cancel the map tiles from downloading so you need to put this (below) in your dealloc or viewDidUnload method before you release an MKMapView:
mapView.delegate = nil;
If you don’t, it can throw an EXC_BAD_ACCESS when the MKMapView has been released and not all map tiles have been downloaded and loaded yet.