Search code examples
objective-cmapkitmkmapviewmkannotationview

How do i get an MKAnnotationView's coords?


I have a method like this:

- (void)mapView:(MKMapView *)mapView annotationView:(MKAnnotationView *)view calloutAccessoryControlTapped:(UIControl *)control

Using this, can i get the coordinates?


Solution

  • return view.annotation.coordinate;