Custom MKPinAnnotation callout bubble similar to default callout bubble

那年仲夏 提交于 2019-11-27 01:04:25

I have developed a custom callout bubble that is nearly identical to the system callout bubble, but gives more flexibility over the height and content. It should be fairly trivial to adjust the appearance to suit your needs. See my post on the Asynchrony Solutions blog for example code and the steps required to implement a good callout replacement.

You can check out this tutorial which provides an example on how to subclass the MKAnnotationView in order to provide custom content.

You need to use MKCircle and MKCircleView.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!