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];
}
}
上記のコードを使用しましたが、ピンに情報が表示されません。