Iphone 点击UITableViewCell上的-按钮时委派

Iphone 点击UITableViewCell上的-按钮时委派,iphone,ios,cocoa-touch,uitableview,Iphone,Ios,Cocoa Touch,Uitableview,当我们点击“-”按钮并在右侧单元格中显示delete按钮时,是否有任何代理被调用。点击此按钮后,我想禁用单元格上的某些标签。当您在UITableView的行上滑动时,它将调用 (void)tableView:(UITableView *)tableView willBeginEditingRowAtIndexPath:(NSIndexPath *)indexPath (void)tableView:(UITableView *)tableView commitEditingStyle:(UIT

当我们点击“-”按钮并在右侧单元格中显示delete按钮时,是否有任何代理被调用。点击此按钮后,我想禁用单元格上的某些标签。

当您在UITableView的行上滑动时,它将调用

(void)tableView:(UITableView *)tableView willBeginEditingRowAtIndexPath:(NSIndexPath *)indexPath
(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath
点击删除按钮后,它将调用

(void)tableView:(UITableView *)tableView willBeginEditingRowAtIndexPath:(NSIndexPath *)indexPath
(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath
最后

(void)tableView:(UITableView *)tableView didEndEditingRowAtIndexPath:(NSIndexPath *)indexPath