Why does a custom MKMapView annotation image disappear on touch?
问题 I am annotating my map and setting an image just fine, but when I tap the annotation on the MapView, the image goes from my custom image back to the red pin. Why is this? - (MKAnnotationView *)mapView:(MKMapView *)newMapView viewForAnnotation:(id )newAnnotation { MKPinAnnotationView *annotation = [[MKPinAnnotationView alloc] initWithAnnotation:newAnnotation reuseIdentifier:@"currentloc"]; if (annotation == nil) { annotation = [[MKAnnotationView alloc] initWithAnnotation:newAnnotation