单元格底线截断
Cell bottom line truncate
我在 Storyboard 中为单元格使用基本样式,但我不明白为什么我会看到截断图像的底线:
如何解决这个问题?我想要底部的灰色线是所有单元格底部的长线。
删除:
self.yourTable.separatorStyle = .none
伸展:
cell.separatorInset = UIEdgeInsets.zero
或
self.yourTable.separatorInset = .zero
我在 Storyboard 中为单元格使用基本样式,但我不明白为什么我会看到截断图像的底线:
如何解决这个问题?我想要底部的灰色线是所有单元格底部的长线。
删除:
self.yourTable.separatorStyle = .none
伸展:
cell.separatorInset = UIEdgeInsets.zero
或
self.yourTable.separatorInset = .zero