I have seen the answer to this question.
However, I have a page where I add many custom map annotations to a map, and I need to know which AnnotationView's rightCalloutAccessoryView (a UIButton in my case) was pressed.
The ideal would be to set a custom ID attribute on the button. But seeing as I can't find a mechanism to do that, I guess it's not the way.