 <pre><code>- (MKAnnotationView *)mapView:(MKMapView *)mapView viewForAnnotation:(id )annotation { //Some code here pinView.rightCalloutAccessoryView = [UIButton buttonWithType:UIButtonTypeDetailDisclosure]; return pinView; } </code></pre> <p>And make use of the following delegate method to get the button action</p> <pre><code>- (void)mapView:(MKMapView *)mapView annotationView:(MKAnnotationView *)view calloutAccessoryControlTapped:(UIControl *)control { // code to show details view } </code></pre>