How to delete all Annotations on a MKMapView
问题 Is there a simple way to delete all the annotations on a map without iterating through all the displayed annotations in Objective-c? 回答1: Yes, here is how [mapView removeAnnotations:mapView.annotations] However the previous line of code will remove all map annotations "PINS" from the map, including the user location pin "Blue Pin". To remove all map annotations and keep the user location pin on the map, there are two possible ways to do that Example 1, retain the user location annotation,