我想UITableViewCell在点击编辑按钮或滑动UITableView行时更改减号按钮的颜色并删除按钮.到目前为止,我已实现此代码:
-(IBAction)doEdit:(id)sender
{
[[self keyWordsTable] setEditing:YES animated:NO];
}
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath {
if (editingStyle == UITableViewCellEditingStyleDelete) {
}
Run Code Online (Sandbox Code Playgroud) 我有"滑动删除"的功能TableViewCell.我想自定义删除按钮.
这可能,以及如何访问删除按钮?