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
(source: objectgraph.com)
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..
Solution 1:
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.
Solution 2:
You can check out this tutorial which provides an example on how to subclass the MKAnnotationView in order to provide custom content.