I have created a custom annotation view. In the setSelected method i have implemented a view as i need, now i want add a button to that view. But the button not detecting the click event,
it absorbed by the mapview. what should i do for adding button like rightcalloutaccessory.
Thanks in advance.
I have created a custom annotation view. In the setSelected method i have implemented
Share
I solved this problem by changing control event for the
UIButtonasBelow is the part of my code to create custom annotations.