• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Custom callout view with button over a MKMapView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: How do you set the text in an NSTextView?
  • Next by Date: Re: How do you set the text in an NSTextView?
  • Previous by thread: Re: Problem with font display
  • Next by thread: Modal window that does not block the main runloop
  • Index(es):
    • Date
    • Thread