【发布时间】:2016-09-02 20:15:55
【问题描述】:
如果我使用此代码从左侧缩进,所有内容都会缩进(分隔符 + 内容)
table.contentInset = UIEdgeInsetsMake(0, 20, 0, 0);
如果我用这个也一样:
cell.layoutMargins = UIEdgeInsetsMake(0, 20, 0, 0);
这也无济于事,因为它不会移动图像。
cell.indentationLevel = 10;
【问题讨论】:
-
意味着你想要分隔符原样。只是想移动内容吗??
-
您的 tableviewcell 自定义或原生
-
大家好。我想要缩进内容但不与边框一起。阿什米是的。原生细胞
标签: ios objective-c uitableview