• 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
Re: Detecting which MKAnnotation Detail Disclosure was touched
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detecting which MKAnnotation Detail Disclosure was touched


  • Subject: Re: Detecting which MKAnnotation Detail Disclosure was touched
  • From: John Baldwin <email@hidden>
  • Date: Fri, 2 Apr 2010 22:16:15 -0700

You can use

view.annotation

in

- (void)mapView:(MKMapView *)mapView annotationView:(MKAnnotationView *)view calloutAccessoryControlTapped:(UIControl *)control

John

On Thursday Apr 1  6:16 PM, at 6:16 PM, Roger Dalal wrote:

> Help All (please)!
>
> I have approximately 80 map annotations on a typical MapKit mapview. I have initialized the annotations with an array generated from a SQLlite database. I need to push a detail view controller once the user touches the annotation Detail Disclosure button on the annotation's Callout, but I can not figure out how to detect which annotation was touched. Any help or advise will be greatly appreciated.
>
> Roger Dalal
> Stuart, Florida
>
> _______________________________________________
>
> 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

_______________________________________________

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

References: 
 >Removing alpha channel (transparency) from NSImage? (From: Laurent Daudelin <email@hidden>)
 >Re: Removing alpha channel (transparency) from NSImage? (From: Jens Alfke <email@hidden>)
 >Re: Detecting which MKAnnotation Detail Disclosure was touched (From: Roger Dalal <email@hidden>)

  • Prev by Date: Re: Why doesn't -[NSArrayController selection] et al fire keyPathsForValuesAffectingKey?
  • Next by Date: Re: Why doesn't -[NSArrayController selection] et al fire keyPathsForValuesAffectingKey?
  • Previous by thread: Re: Detecting which MKAnnotation Detail Disclosure was touched
  • Next by thread: My first framework - but no 'Header'
  • Index(es):
    • Date
    • Thread