放在 UITableViewCell
的这里即可
override func layoutSubviews() {
super.layoutSubviews()
separatorInset = .zero
preservesSuperviewLayoutMargins = false
layoutMargins = .zero
}
放在 UITableViewCell
的这里即可
override func layoutSubviews() {
super.layoutSubviews()
separatorInset = .zero
preservesSuperviewLayoutMargins = false
layoutMargins = .zero
}
本文标题:UITableViewCell 左边间距到头
本文链接:https://www.haomeiwen.com/subject/tikapxtx.html
网友评论