有两种方法:
1、pTabView.tableFooterView = UIView.init(frame: CGRect.zero
)
2、
func tableView(_ tableView: UITableView, heightForFooterInSection section: Int) -> CGFloat {
return 0.1
}
func tableView(_ tableView: UITableView, heightForFooterInSection section: Int) -> CGFloat {
return 1
}