Hello users,
i have implemented the following method:
Code:
- (void) mapView:(MKMapView *)mapView annotationView:(MKAnnotationView *)annView calloutAccessoryControlTapped:(UIControl *)control {
NSString *name = annView.annotation.title;
NSLog(name, [annView description]);
}
this is in my mapView class, and my second class is an listView, now my question, how can i use the String
name in the other class in the
- (void)viewDidLoad method?
sorry about my bad english, i hope you can help me please?