use pin.title in other class
- by Marco
Hello i have implemented the following code:
- (void) mapView:(MKMapView *)mapView annotationView:(MKAnnotationView *)annView calloutAccessoryControlTapped:(UIControl *)control {
name = annView.annotation.title;
NSLog(name, [annView description]);
}
and how can I use the variable name in another class?
can you please help me, i am new in iphone developing!