Dismissing Custom MKAnnotationView Callout
I am customizing the MKAnnotationView by using this
http://blog.asolutions.com/2010/09/building-custom-map-annotation-callouts-part-1/
This works for single annotation. However, I want to use this for t开发者_StackOverflow中文版he multiple annotations. But the problem is that I am not able to give it a behavior of the original SDK's Pop up. For instance,
If you touch outside the pop up fades out.
Click on one pop up the previous pop up goes. Or click on the same pop up the nothing happens to the popUp.
How can I fix this?
See Customize the MKAnnotationView callout and the usage section of https://github.com/j4n0/callout Adding another custom annotation requires you to create a subclass of CalloutView.
精彩评论