tags:

views:

362

answers:

2

Hi,

Could anyone explain on how to customize the callout view, instead of trying to customizing the leftcalloutaccessoryview or rightcallaccessoryview. I would like to display an address of 4 lines with an image.

Currently I could display only 2 lines.

Thanks in Advance.

Zach.

A: 

I am also looking for the same. Did you get anything related to this?

Ankush
see my next question answer that is also on map callOut... i think it is helpful for u
Zach
did u get any other answers ... please share with those answers..thanks in advance..
Zach
A: 

I am looking for a solution, too.

So far I found this:

http://www.jakeri.net/2009/12/custom-callout-bubble-in-mkmapview-final-solution/

It looks good, but it provides its own view as a callout and draws it on a MKMapView. I am looking for a solution to set the calloutView which is used by the MKAnnotationView, if that is possible. The reason is that I want the normal "select" event of an MKAnnotationView to trigger the callout. (Although the code detects the "select" event, it uses its own observer to do the job. Howver, I concede that perhaps this may be the right way).

Although leftCalloutAccessoryView and rightCalloutAccessoryView can be found in MKAnnotationView, I can't find the property e.g. calloutView.

Yoichi