问题:
I have an app where the UITableView 's separator inset is set to custom values - Right 0 , Left 0 . 我有一个应用程序,其中UITableView的分隔符插入设置为自定义值 - 右0 ,左0 。 This works perfectly in iOS 7.x , however in iOS 8.0 I see that the separator inset is set to the default of 15 on the right. 这在iOS 7.x完美运行,但在iOS 8.0我看到分隔符插入在右侧设置为默认值15 。 Even though in the xib files it set to 0 , it still shows up incorrectly. 即使在xib文件中它设置为0 ,它仍然显示不正确。
How do I remove the UITableViewCell separator margins? 如何删除UITableViewCell分隔符边距?
解决方案:
参考一: https://stackoom.com/question/1k7z5/iOS-UITableView分隔符插入-不起作用参考二: https://oldbug.net/q/1k7z5/iOS-8-UITableView-separator-inset-0-not-working
来源:oschina
链接:https://my.oschina.net/stackoom/blog/4266739