I\'m still pretty new to the iOS stuff in general and found a problem while testing our App for iOS 8 compatibility. In iOS 7 everything worked fine but on iOS 8 the rightCa
I got mine to work by setting my map view's delegate prior to adding the annotation and did not have to change anything in the del.
Going from the following:
self.mapView = [[MKMapView alloc] init];
NGAAnnotation *annotation = [[NGAAnnotation alloc] init];
annotation.coordinate = coordinates;
annotation.title = self.project.name;
[self.mapView addAnnotation:annotation];
self.mapView.delegate = self;
To:
self.mapView = [[MKMapView alloc] init];
NGAAnnotation *annotation = [[NGAAnnotation alloc] init];
annotation.coordinate = coordinates;
annotation.title = self.project.name;
self.mapView.delegate = self;
[self.mapView addAnnotation:annotation];
Fixed it for me. I noticed that the delegate method gets called when the annotation is added so if the delegate is not set prior to you adding the annotation it will not get called.