本帖最后由 ningshuang520 于 2014-09-22 17:49:10 编辑

解决方案 »

  1.   

    点击通过按钮的时候,你能通过button的superview或者superview.superview(取决于你把button添加到cell上还是添加到cell的contentView上)取到cell,就能拿到indexPath了
      

  2.   

    还有记得在执行删除行操作时,最好放到这两中间[self.tableView beginUpdates];
    [tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationFade];
    [self.tableView endUpdates];