在需要去除的Cell文件中,重写addSubview
- (void)addSubview:(UIView *)view
{
if (![view isKindOfClass:[NSClassFromString(@"_UITableViewCellSeparatorView") class]] && view)
[super addSubview:view];
}
- (void)addSubview:(UIView *)view
{
if (![view isKindOfClass:[NSClassFromString(@"_UITableViewCellSeparatorView") class]] && view)
[super addSubview:view];
}
本文标题:TableView-UITableViewCellSeparat
本文链接:https://www.haomeiwen.com/subject/akbptktx.html
网友评论