My tableview has an extra space at the bottom, as you see in the picture:
All the rows in the tableView have a fixed height of 71pt.
My problem didn't solve by the answers.
i had a UISearchbar as tableHeaderView which caused the white space ( i don't know why) . I removed the searchbar from tableview in storyboard and in viewWillLayoutSubviews added in table header then problem solved.
override func viewWillLayoutSubviews() {
super.viewWillLayoutSubviews()
tableView.tableHeaderView = searchBar
}