Sye*_*eel 5 cocoa-touch objective-c ios
我已经实现了在交换时使删除按钮可见的功能,它还通过单击按钮删除单元格.但我只想将删除按钮的文本从"删除"更改为"取消"
rck*_*nes 11
实现你的下面UITableViewDelegate:
- (NSString *)tableView:(UITableView *)tableView titleForDeleteConfirmationButtonForRowAtIndexPath:(NSIndexPath *)indexPath {
return @"Cancel";
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1958 次 |
| 最近记录: |