Posted By

rabc on 07/15/10


Tagged

iphone MapKit mapview


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

umang_nine
bobbym245
nsbuckner


Clear all map points, except the user's location.


 / Published in: Objective C
 

  1. [self.mainMapView removeAnnotations: [self.mainMapView.annotations filteredArrayUsingPredicate:[NSPredicate predicateWithFormat:@"!(self isKindOfClass: %@)", [MKUserLocation class]]]];

Report this snippet  

You need to login to post a comment.