I have a weird (?) Crash after the release of MKMapView. MKMapView is subordinate in my view controller and after I remove this view from the navigation stack and free its application with this stack:
...
#4 0x34196dc8 in -[MKMapView(UserPositioningInternal) locationManagerFailedToUpdateLocation:withError:]
#5 0x3417030c in -[MKLocationManager _reportLocationFailureWithError:]
#6 0x3416de94 in -[MKLocationManager locationManager:didFailWithError:]
#7 0x3205f538 in -[CLLocationManager onClientEventLocation:]
#8 0x3205dd5c in -[CLLocationManager onClientEvent:supportInfo:]
...
Do I need to follow some additional steps when deleting my view?
Edit: setting mapView.showsUserLocation to NO in the controller's dealloc method seems to help. However, the question is: is this intentional behavior?
source
share