iphone - MapKit : Add custom callout -
i want add custom annotationview callout contains 1. title 2. subtitles 3. button
the button can display on right (rightcalloutaccessoryview
) or left leftcalloutaccessoryview
sides of callout. want add button in middle of callout , under title->subtitle. how can do?
there no api this. try not using standard callout (canshowcallout = no), catch taps , drags on annotationview manually , show own ui adding custom views based on position of annotationview. seems fragile, though.
Comments
Post a Comment