IOS 7 - add overlay crash app
问题 I am in a process of moving my app to IOS 7 . I have a map and on that map I draw MKPolyLine . Everything worked until IOS 7 now app crash. I have changed viewForOverLay with new method: - (MKOverlayRenderer *)mapView:(MKMapView *)mapView rendererForOverlay:(id < MKOverlay >)overlay { if ([overlay isKindOfClass:[MKPolyline class]]) { MKPolyline *route = overlay; MKPolylineRenderer *routeRenderer = [[MKPolylineRenderer alloc] initWithPolyline:route]; routeRenderer.strokeColor = [UIColor