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