Outdooractive / route-me

Open source map library for iOS
Other
122 stars 400 forks source link

Changing accessory views when tapped #140

Closed mohpor closed 10 years ago

mohpor commented 10 years ago

There is this helpful method called tapOnCalloutAccessoryControl:forAnnotation:annotation onMap:

I want to change my control inside this delegate method. but as you can see the control parameter is passed by value, not reference. Is there anyway we could have the actual reference to the control that has been clicked. or better yet, the underlying annotation involved!? Thanks

mohpor commented 10 years ago

Sorry, my bad, we can do this even now, but the callout view doesn't get changed not after a toggle.