两个tableview

第一个tableview 只有点击事件
第二个可以左滑删除事件

- (UITableViewCellEditingStyle)tableView:(UITableView *)tableView editingStyleForRowAtIndexPath:(NSIndexPath *)indexPath
{
    if (tableView == self.headerTableview) {
        return UITableViewCellEditingStyleNone;
    }
    return UITableViewCellEditingStyleDelete;
}



你可能感兴趣的:(两个tableview)