美文网首页
TableView-UITableViewCellSeparat

TableView-UITableViewCellSeparat

作者: Mooners | 来源:发表于2020-06-10 17:40 被阅读0次

在需要去除的Cell文件中,重写addSubview

- (void)addSubview:(UIView *)view
{
    if (![view isKindOfClass:[NSClassFromString(@"_UITableViewCellSeparatorView") class]] && view)
          [super addSubview:view];
}

相关文章

网友评论

      本文标题:TableView-UITableViewCellSeparat

      本文链接:https://www.haomeiwen.com/subject/akbptktx.html