设置tableview分割线的左边距=0
2017-06-16 本文已影响0人
sdr小米
if ([self.recordWorkTable respondsToSelector:@selector(setSeparatorInset:)])
{
[self.recordWorkTable setSeparatorInset:UIEdgeInsetsZero];
}
if ([self.recordWorkTable respondsToSelector:@selector(setLayoutMargins:)])
{
[self.recordWorkTable setLayoutMargins:UIEdgeInsetsZero];
}