MKMapView removeAnnotation is not removing the selected annotation
When I call removeAnnotation and pass it a pointer to the annotat开发者_StackOverflowion I had added, it is not removing the annotation... Is this because it had made a copy of the annotation when I added it?
Thanks Deshawn
You could try this
nsarray *oldAnnotations=[self.mapview annotations];
[self.mapview removeAnnotations:oldAnnotations];
精彩评论