The first cell in my table view is a dummy cell, and so when the voice mode is turned on, I want to skip this cell so that the focus does not fall into this control and, thus, none of its features are spoken by the Voice. I wrote the code inserted below to get the same, considering that isAccessibilityElement enough for this. But this does not seem to be the case. Despite the fact that this element, which, as I said, is not available in the code, still focuses on right / left clicks in Voice-over mode. Any idea on how this can be achieved?
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { .... UITableViewCell *cell = (UITableViewCell *)[tableView dequeueReusableCellWithIdentifier:MyIdentifier]; if(indexPath.row == 0) { cell.isAccessibilityElement = 0; } }
source share