MacRumors Forums
>
Apple Systems and Services
>
Programming
>
iPhone/iPad Programming
> Mapkit: Pin annotations, how to put code behind them?
PDA
View Full Version :
Mapkit: Pin annotations, how to put code behind them?
doanelinde
Jul 30, 2009, 10:49 AM
How do you put code behind a pin annotation so that if the user selects a pin I can run code to, for example, jump to another view?
dejo
Jul 30, 2009, 10:59 AM
Set up a mapView:annotationView:calloutAccessoryControlTapped:method in your MKMapViewDelegate.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.