Custom MKAnnotationView Callout [duplicate]

南笙酒味 提交于 2020-02-11 08:23:09

问题


Possible Duplicates:
Custom MKPinAnnotation callout bubble similar to default callout bubble
How to customize the callout bubble for MKAnnotationView?

Does anyone know, or have code that shows, how to create a custom MKAnnotationView Callout? I mean the actual text bubble and not the pin. Thanks in advance.


回答1:


you cannot make a custom MKAnnotationView, you can only custom the callout views left and right, it's just a view, so you can put anything you want.
If you want a custom MKAnnotationView you will need to capture the touch and handle the rest.



来源:https://stackoverflow.com/questions/1350050/custom-mkannotationview-callout

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