设置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];

}

上一篇下一篇

猜你喜欢

热点阅读