-2

i want to get annotation title & subtitle from this method. what the way go get that.

-(void)mapView:(MKMapView *)mapView didSelectAnnotationView:(MKAnnotationView *)view{
//NSString * title = [annotations title];
}
Wain
  • 118,658
  • 15
  • 128
  • 151

1 Answers1

0

The view has an annotation property that you can use which will return the annotation you originally used when creating the view.

Wain
  • 118,658
  • 15
  • 128
  • 151