tableView.estimatedSectionHeaderHeight = 0
tableView.estimatedSectionFooterHeight = 0
func tableView(_ tableView: UITableView, heightForFooterInSection section: Int) -> CGFloat {
return 0.01
}
func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat {
return 0.01
}
网友评论