Customized annotation problem

Posted by user128647 on Stack Overflow See other posts from Stack Overflow or by user128647
Published on 2010-04-10T19:40:07Z Indexed on 2010/04/10 21:33 UTC
Read the original article Hit count: 156

Filed under:
|

I want my custom UIView (.Xib View) to appear when user tabs on pins (not apple's callOutBubble) and in that UIView there should be a button which fires an IBAction on touched down event.

Therefore I have added an AddObserver method to MKAnnotationView. which responds to touch events over pin in MKMapView. I have also added 3 buttons over that XIB view, which have also assigned IBActions. But when I run my application, buttons in the customized annotation view are not responding to IBAction (Touch Down). Why does this happen, and how can I fix it? I need to call a method when those 3 buttons are tabbed.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk