I am implementing ordnance survey maps. I am able to display all annotations but didSelectAnnotationView method is not calling when tap on annotation.
Here is the code, i have used below in viewForAnnotation method.
OSAnnotationView *view = nil;
static NSString *pinAnnotation = @"PinAnnotation";
view = [self.mapView dequeueReusableAnnotationViewWithIdentifier:pinAnnotation];
if (view == nil) {
view = [[OSAnnotationView alloc] initWithAnnotation : annotation reuseIdentifier : pinAnnotation];
}
i have set delegate to self and able to call all delegate methods except didSelectAnnotationView.
Can anyone answer this please?
Thanks