问题
When I call removeAnnotation and pass it a pointer to the annotation 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
回答1:
You could try this
nsarray *oldAnnotations=[self.mapview annotations];
[self.mapview removeAnnotations:oldAnnotations];
来源:https://stackoverflow.com/questions/6876662/mkmapview-removeannotation-is-not-removing-the-selected-annotation