MapView with multiple annotations with callouts, how to pass title to next view
问题 I have a mapView where users press to drop a pin. There may be multiple pins at one time, and each annotation view has a callout that pushes a new view to the stack when it is pressed. What I want to do is pass the title of the annotation view to the label in the second view. Here is the code where I drop the pin: -(void)press:(UILongPressGestureRecognizer *)recognizer { CGPoint touchPoint = [recognizer locationInView:worldView]; CLLocationCoordinate2D touchMapCoordinate = [worldView