Custom MKAnnotationView Callout [duplicate]

2019-01-25 21:41发布

问题:

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.