Custom MKPinAnnotation callout bubble similar to default callout bubble

i want to create a custom callout bubble on MKMapView. But i want to create the call out bubble in the same manner of default bubble. So how to create a View look like annotaion in this image alt text http://blog.objectgraph.com/wp-content/uploads/2009/04/mapkit31.png

I want a custom custom view which look like "Parked Location" annotaion in the following image. with custom width, height etc. P

I am not able to add required details in Default bubble. Thats why am creating custom bubble.

Plz help me..thanks..


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.


您可以查看本教程,其中提供了有关如何为MKAnnotationView创建子类以提供自定义内容的示例。


您需要使用MKCircle和MKCircleView。

链接地址: http://www.djcxy.com/p/67270.html

上一篇: 缩放MKMapView以适应注释引脚?

下一篇: 自定义MKPinAnnotation标注泡泡类似于默认标注泡泡