How to remove tableFooterView ? There are three sports, made one kind of table - everything is gone. Repeat the remaining two, trimmed from the bottom 1/3 of the screen closes the text.

Here is my code and screenshot:

 override func viewDidLoad() { super.viewDidLoad() title = baskets?.detailTitleB tableView.tableFooterView = UIView(frame: .zero) tableView.estimatedRowHeight = 300 tableView.rowHeight = UITableViewAutomaticDimension tableView.separatorStyle = .none tableView.delegate = self tableView.dataSource = self tableView.register(UINib(nibName:"BasketballTableViewCell",bundle:nil), forCellReuseIdentifier: "basketCell") tableView.reloadData() loadMatchBasket() // Do any additional setup after loading the view. } 

enter image description here

  • 1) To remove a footer, simply delete the line with the footer. 2) Do you use AutoLayout? 3) Try this: tableView.tableFooterView = UIView () - Vitaly
  • Vitali, I checked on the form of the iPhone screen there everything is fine, I can not understand why on iPhone X such garbage. - ShurikTennisist

0