Re: Detecting which MKAnnotation Detail Disclosure was touched
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