通常、MKMapView 内に注釈を付けたいオブジェクト X があります。次のようにします。
DDAnnotation *annotation = [[DDAnnotation alloc] initWithCoordinate: poi.geoLocation.coordinate title: @"My Annotation"];
[_mapView addAnnotation: annotation];
次に、注釈ビューを内部に作成します
- (MKAnnotationView *)mapView:(MKMapView *)mapView viewForAnnotation:(id <MKAnnotation>)annotation;
そして、一部の吹き出しがタップされると、内部でイベントを処理します。
- (void)mapView:(MKMapView *)mapView annotationView:(MKAnnotationView *)view calloutAccessoryControlTapped:(UIControl *)control;
Xを最新のタップイベントに渡す最もクリーンなソリューションは何ですか?