Reputation: 21
If I try to customize both annotation view and callout view in some map view I cannot find a way to change all callout view background (may be it's not a callout view itself but I need to customize all required map view UI). Just changing a background color of a view used for detailCalloutAccessoryView
property (that has UIView?
type) that's the most common suggestion I find over the Web I get the following result. But I don't need white edges around the mentioned view, I need to set the same black color to all the callout view. How can I make it to change the color actually.
Upvotes: 2
Views: 975
Reputation: 100503
You may add a subview to it with your preferred color see here custom calloutView see my example here customPinAnnotationButton
Upvotes: 1