я пытаюсь скрыть AnnotationView, не касаясь контакта, возможное?Спасибо!
for (id currentAnnotation in self.mapView.annotations) {
if ([currentAnnotation isKindOfClass:[MyAnnotation class]]) {
}
}
Вы просто хотите, чтобы пузырек вызова исчез, но пин остался?
.
Если да, то сделайте следующее:
for (id currentAnnotation in self.mapView.annotations) {
if ([currentAnnotation isKindOfClass:[MyAnnotation class]]) {
[self.mapView deselectAnnotation:currentAnnotation animated:YES];
}
}