1. header,footer 高度设置为 0,不会起作用
func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat {
return self.headerViewHeight
}
func tableView(_ tableView: UITableView, heightForFooterInSection section: Int) -> CGFloat {
// 如果设置为 0,则不会起作用
return 8
}