- (InspectorWorkCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
InspectorWorkCell *cell = [InspectorWorkCell cellWithTableView:tableView];
cell.delegate = self;
cell.index = indexPath.row;
cell.inspectorWorkModel = _data[indexPath.row];
// 禁止cell点击选中
cell.selectionStyle = UITableViewCellSelectionStyleNone;
return cell;
}
UITableview禁止cell点击选中
最新推荐文章于 2022-07-13 13:44:54 发布