use pin.title in other class
Posted
by Marco
on Stack Overflow
See other posts from Stack Overflow
or by Marco
Published on 2010-02-08T13:17:53Z
Indexed on
2010/05/22
5:10 UTC
Read the original article
Hit count: 294
iphone
|mkpinannotationview
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!
© Stack Overflow or respective owner