MotoxX MotoxX - 7 months ago 26
iOS Question

Remove Last added annotation from MKMapView

Is there a way to remove the last added Annotation?

Answer

[self.mapView removeAnnotation:self.mapView.annotations.lastObject];