As in the other answer, here's something close:
- (MKAnnotationView *)mapView:(MKMapView *)mapView viewForAnnotation:(id <MKAnnotation>)annotation { NSString *annotationType = [NSString stringWithCString:object_getClassName(annotation)]; if ([annotationType compare:@"NSKVONotifying_MKUserLocation"] == 0) return nil; ... }
Of course, use something similar at your own peril and risk. It may stop working tomorrow if Apple decides to change that name.
source share