I want to set Accessibility label for uitableviewcell. When i add tableview as MKMapViewAnnotation content I am not able to select tableviewcell through accessibility. When I debug tableview inside MKMapAnnotation isAccessible is always NO and tableviewcell inside MKMapAnnotation isAccessible is Yes. Please help me to set isAccessible of tableview to Yes. I tried in milliion ways to set but tableview is not accessible.
Fot Tableview:
_tableview.isAccessibilityElement = YES;
For UITableviewcell :
cell.isAccessibilityElement = YES;
NSString *accessibilitytext = [NSString stringWithFormat:@"%@, %@",cell.textLabel.text,cell.detailTextLabel.text];
cell.accessibilityLabel = accessibilitytext;
For viewForAnnotaion:
MKAnnotationView* view = [((NSObject<AnnotationProtocol>*)annotation) annotationViewInMap:self.mapView]
view.isAccessibilityElement = YES;
It is possible, please go through this once.
https://github.com/grgcombs/MultiRowCalloutAnnotationView
Hope this helps.