Louis G. Lück

1
reputation
1

When I want to run this I got an "Use of undeclared identifier" failure with initWith......

    if(!customAnnotationView)
{
    - (void)initWithAnnotationWithImage:reuseIdentifier {
        [self annotationViewImage]

        - (void)annotationViewImage {

        }
    }
    customAnnotationView = [[CustomAnnotationView alloc] initWithAnnotationWithImage:annotation reuseIdentifier:
                            [annotationIdentifier annotationViewImage:[UIImage imageNamed:@"looptag_Kreis.png"]]];

                            customAnnotationView.canShowCallout = YES;
}
                             return customAnnotationView;

}