MapKit internal calls causing crash
- by Ronnie Liew
I have a MKMapView in the view of a UIViewController. The app will crash randomly when the I pop the UIViewController off from the UINavigationController.
In the dealloc method of the UIViewController, I have already assigned the MKMapView delegate to nil as below:
- (void)dealloc {
mapView.delegate = nil;
[_mapView release];
_mapView…