/ Published in: Objective C
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
[self.mainMapView removeAnnotations: [self.mainMapView.annotations filteredArrayUsingPredicate:[NSPredicate predicateWithFormat:@"!(self isKindOfClass: %@)", [MKUserLocation class]]]];