我正在开发一个自定义的UITableViewCell,它在iOS上的应用程序中像Apple一样在单元格上滑动时具有额外的按钮 . 看这里:Swipe to Delete and the "More" button (like in Mail app on iOS 7)
要创建自定义UITableViewCell,我需要通过执行以下操作来删除默认的删除按钮:
-(BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath {
return NO;
}
但是,通过这样做,VoiceOver Rotor不再显示“Actions”元素 . 我无法在VoiceOver转子上添加自定义元素(我只能使用Apple的) .
那么有没有办法隐藏默认滑动删除按钮,但仍然显示VoiceOver转子界面中的“动作”元素 .