Reputation: 38142
I want to add a click able button to a MKAnnotation as seen in this screenshot of the Maps application:
Preview http://www.img-hosting.de/bilder/24558PlacemarkWithIconpng
Upvotes: 0
Views: 3615
Reputation: 4924
UIButton *disclosureButton = [UIButton buttonWithType: UIButtonTypeDetailDisclosure];
annoView.canShowCallout = YES;
annoView.rightCalloutAccessoryView = disclosureButton;
Upvotes: 8