setting up Image in MKAnnotationPinView
问题 I have the following code inside the delegate: - (MKAnnotationView *)mapView:(MKMapView *)aMapView viewForAnnotation:(id <MKAnnotation>)anAnnotation { MKPinAnnotationView *pin = (MKPinAnnotationView *) [map dequeueReusableAnnotationViewWithIdentifier: @"RoutePin"]; if (pin == nil) { if ([anAnnotation isKindOfClass:[RouteMapAnnotation class]]) { RouteMapAnnotation *theAnnotation = (RouteMapAnnotation *)anAnnotation; if (theAnnotation.identifier == @"routePin") { //NSLog(@"TESTING PART III");