mercredi 13 juillet 2016

Crash on NSRangeException cannot remove observer for "heading"

Fabric/Crashlytics is logging the following crash (quite a few crashes so far), and I cannot figure out what is causing it:

Cannot remove an observer<VKMapAnnotationTrackingCameraController 0x155058110> for the key path "heading" from <MKUserLocation 0x153b60790> because it is not registered as an observer.

enter image description here

I assume this is coming from my MKMapView where I allow the user to set the map type to MKUserTrackingModeFollowWithHeading, but nowhere am I adding an observer.

Could this just be a MapKit bug? So far there have been 32 crashes in the last 30 days, which seems like a lot.

1 commentaire:

  1. Yes, I am also getting the same issue, while using MKUserTrackingModeFollowWithHeading, but I am not understand where i am able to add observer.

    RépondreSupprimer