Reject custom callout MKAnnotationView

I am setting up MKAnnotationView using this

http://blog.asolutions.com/2010/09/building-custom-map-annotation-callouts-part-1/

This works for a separate annotation. However, I want to use this for a few annotations. But the problem is that I cannot give it the behavior of the original Pop up SDK. For instance,

  • If you touch outside, the popup disappears.

  • Click on one popup that appears on the screen. Or click on the same popup that nothing happens with popUp.

How can i fix this?

+4
source share
1 answer

See Customize the MKAnnotationView callout and usage section https://github.com/j4n0/callout Adding another custom annotation requires creating a subclass of CalloutView.

+1
source

Source: https://habr.com/ru/post/1333642/


All Articles