0
for (MyAnnotation *a in dealerMapView.annotations) {
// Your current position (if shown) is an annotation as well. Thus check for the right class!
if ([a isKindOfClass:[MyAnnotation class]]) {
// insert some smart if statement here, if you have multiple annotations!
[[dealerMapView viewForAnnotation:a] setSelected:YES animated:YES];
}
}
위의 코드를 사용했지만 핀에 정보가 표시되지 않았습니다.주석을 클릭하지 않고도 주석에 정보를 표시하려면 어떻게해야합니까?