放在 UITableViewCell
的这里即可
override func layoutSubviews() {
super.layoutSubviews()
separatorInset = .zero
preservesSuperviewLayoutMargins = false
layoutMargins = .zero
}
放在 UITableViewCell
的这里即可
override func layoutSubviews() {
super.layoutSubviews()
separatorInset = .zero
preservesSuperviewLayoutMargins = false
layoutMargins = .zero
}