I have a map annotation view that contains a rightcallout button which loads an accessory view which is a UIViewController class. I am using resuable annotations, but am wondering how I can pass updated information to my UIViewController class. Let's say I have 2 string values which map to 2 UILabels on my view. How can I update those values after the initial accessory view has already been loaded into memory as a resusable view?
Any help would be appreciated.
Is NSTimer auto retained?
1:Submit ajax form on keyboard close without a submit button on the iphone?
2:How to ALTER sqlite column (iPhone)?
This method is called when a user tapped one of the annotation view’s accessory although tons. Assuming this your MKMapViewDelegate is also the UIViewController this must access your accessory view..
-(void)mapView:(MKMapView *)mapView annotationView:(MKAnnotationView *)view calloutAccessoryControlTapped:(UIControl *)control;