Hello,
Previously
copyAction.accessibilityLabel = @"Copy to a new board"
would update the accessibility label so when a user swipes up on the tableView cell, it would read out the accessibility label instead of the text.
However in iOS 11, and iOS 10/9 compiled with xcode 9, this no longer works.
Is there a new alternative or did apple just remove this accessibility feature?
p.s. I am aware of the new delegate function trailingSwipeActionsConfigurationForRowAtIndexPath but this doesn't work either in the new delegate function.
example:
- (NSArray<UITableViewRowAction *> *)tableView:(UITableView *)tableView editActionsForRowAtIndexPath:(NSIndexPath *)indexPath;
{
UITableViewRowAction *copyAction = [UITableViewRowAction rowActionWithStyle:UITableViewRowActionStyleNormal title:@"Copy To" handler:^(UITableViewRowAction * _Nonnull action, NSIndexPath * _Nonnull indexPath) {
//Some super mega awesome action to be done here
}];
copyAction.accessibilityLabel = @"Copy to a new board";
return @[copyAction];
}