I am using Swift with iOS 9. No matter what button type I select, except ContactAdd, only and info icon is rendered. I am trying to get a DetailDisclosure icon for the right side of the callout in a mapview. Here is the code:
let rightButton = UIButton(type: UIButtonType.DetailDisclosure);
rightButton.addTarget(self, action: "buttonTapped:", forControlEvents: UIControlEvents.TouchUpInside)
annotationView.rightCalloutAccessoryView = rightButton;
Have you created a pin yet? Try adding the button
.DetailDisclosureto thepinViewUpdate This worked for me