1

I want to add custom annotationView callout which contains 1. Title 2. subtitles 3. a button

The button can display on the right (rightCalloutAccessoryView) or left leftCalloutAccessoryViewsides of the callout. I want to add the button in the middle of the callout and under title->subtitle. How can I do?

Mariam
  • 103
  • 2
  • 10
  • Some hints into customization. There's a sample demo project to customize callout bubble https://github.com/akshay1188/CustomAnnotation – akshay1188 Sep 03 '12 at 17:35

1 Answers1

0

There is no API for this. You could try not using the standard callout (canShowCallout = NO), catch the taps and drags on the AnnotationView manually and show your own UI by adding custom Views based on the position of the AnnotationView. This seems very fragile, though.

soryu2
  • 144
  • 5