I have gone through Apple docs about UITableView class and delegate reference but couldn\'t find the way to set the table header height explicitly.
I set Table cell
With autolayout you could do something like:
tableView.sectionHeaderHeight = UITableViewAutomaticDimension
tableView.estimatedSectionHeaderHeight =
or if your headers are of different heights, go ahead and implement:
func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat {
return
}