I have 10 custom annotations on my map but sometimes the callout pops out behind the pins.. any idea to resolve this?
I have checked out this link
Z-ordering of MKAnnotationViews
but since my callouts are not popping up by tap but they are popping up by click on button so this answer is worthless to me.
Any kind of help will be really appreciated.
The reason behind this is because some where in your code you are calling bringSubviewToFront on the annotationView.