在tableview单元格上的左边距

时间:2016-07-25 03:58:16

标签: ios uitableview autolayout

我的tableviewcell中有一些文本字段。左边距未与底部的分隔符对齐。我已经尝试将indentation level设置为3但它似乎没有做任何事情。我还勾选了Preserve Superview Margins。有没有办法让左边距达到默认值?

enter image description here

1 个答案:

答案 0 :(得分:0)

在Storyboard中选择UITableView单元格,将Separater从Default Insets更改为Custom Insets并将Left设置为0.

请参阅以下图片: -

enter image description here

注意: - 默认输入指定从左到右。

相关问题