You might have an easier time using the MKMapViewDelegate
mapView:annotationView:calloutAccessoryControlTapped:
method, which tells you directly which annotation view was tapped.
More Related Contents:
- How can we programmatically detect which iOS version is device running on? [duplicate]
- How to load a UIView using a nib file created with Interface Builder
- How can I animate the movement of a view or image along a curved path?
- Zooming MKMapView to fit annotation pins?
- How do I draw a shadow under a UIView?
- MKAnnotationView Push to View Controller when DetailDesclosure Button is Clicked
- What are best practices that you use when writing Objective-C and Cocoa? [closed]
- When should I release objects in -(void)viewDidUnload rather than in -dealloc?
- Dismissing a Presented View Controller
- Determining if an iPhone is Jail broken Programmatically
- How can I customize an iOS alert view?
- iOS devices as web server [closed]
- How to search MKMapView with UISearchBar?
- iOS: Using device modifiers for loading xib files?
- Enabling crash logs symbolication in Xcode 4.2
- iOS Pinch Scale and Two Finger Rotate at same time
- Sorting NSString values as if NSInteger using NSSortDescriptor
- iphone XMPP App run background
- NSString to NSArray
- How do I auto size a UIScrollView to fit its content
- Access App Identifier Prefix programmatically
- How to create subscript characters that’s not in Unicode in iOS
- Blocks instead of performSelector:withObject:afterDelay: [duplicate]
- UIBarButtonItem: target-action not working?
- Difference between two NSDate objects — Result also a NSDate
- Retrieving current local time on iPhone?
- Prevent scrolling in a MKMapView, also when zooming
- How to get click event from a button added over MKAnnotationView
- How to use pList in iOS Programming
- How to automatically size UIScrollView to fit the content