I am loading an annotation onto my map view. The annotation displays as a pin when the map is loaded.
However, the title and subtitle do not appear on the pin automa
- (void)mapView:(MKMapView *)mv didAddAnnotationViews:(NSArray *)views
{
MKAnnotationView *annotationView = [views objectAtIndex:0];
id mp = [annotationView annotation];
MKCoordinateRegion region = MKCoordinateRegionMakeWithDistance([mp coordinate] ,350,350);
[mv setRegion:region animated:YES];
[mapView selectAnnotation:mp animated:YES];
}
if you are doing the same thing which is calling the setRegion method, then make sure that you call
[mapView selectAnnotation:mp animated:YES];
after
[mv setRegion:region animated:YES];