Search code examples
iphoneiosmkannotationcallouts

How to avoid the default CallOutView to appear?


I'm trying to make a custom Callout view for AnnotationView. I had seen this answer. And please see the other question

I'm able to load the custom view. But How to avoid the default CallOutView to appear??


Solution

  • In your MKAnnotationView set the canShowCallout to NO