MotoxX MotoxX - 5 months ago 17
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];