MotoxX MotoxX - 1 year ago 90
iOS Question

Remove Last added annotation from MKMapView

Is there a way to remove the last added Annotation?

Answer Source

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