Custom callout view with button over a MKMapView
Custom callout view with button over a MKMapView
- Subject: Custom callout view with button over a MKMapView
- From: olivier destrebecq <email@hidden>
- Date: Fri, 7 May 2010 09:44:21 -0700
I created a subclass of MKAnnotationView which when selected display a
callout view (similar to the MKPinAnnotationView) which is just a subclass
of UIView with a button and text for now. The callout is added to the
annotation view. The problem i have is that the button i put in the callout
view never trigger any action, it does not seem to respond to touch event.
The reason i create a new MKAnnotationView is because i need to display more
than text and two buttons in the annotation view and i could not find a way
to achieve this with the regular MKPinAnnotationView callouts.
Thanks for any help.
Olivier
http://www.flickr.com/photos/otusweb/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden