【发布时间】:2021-03-26 20:45:01
【问题描述】:
我想快速缩小表格视图部分之间的差距。我试过“.leastNormalMagnitude”。但是我仍然在各个部分之间获得了一些空间。我想应该没有空间。谁能帮帮我?
func tableView(_ tableView: UITableView, heightForFooterInSection section: Int) -> CGFloat {
return CGFloat.leastNormalMagnitude
}
func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> UIView? {
return UIView()
}
【问题讨论】: