当我想删除一个单元格时,我只想更改 TableViewCell
的确认按钮的标题,但我在引用中找不到任何相关属性。
我只想将标题从 delete 更改为 trash,有人知道怎么做吗?
最佳答案
-(NSString *)tableView:(UITableView *)tableView titleForDeleteConfirmationButtonForRowAtIndexPath:(NSIndexPath *)indexPath {
return @"trash";
}
关于ios - 如何修改tableviewcell删除-确认按钮的提示字符串,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30815311/