eggswift / pull-to-refresh

#Busy Re-Building....# An easy way to use pull to refresh and infinite scrolling in Swift. Pod 'ESPullToRefresh'
MIT License
1.83k stars 251 forks source link

scroll unfluently when have a view for header in section #126

Closed chaoshenglu closed 6 years ago

chaoshenglu commented 6 years ago

func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView?

实现此方法后,滚动不流畅。(加载更多数据的时候,滚动不流畅)

chaoshenglu commented 6 years ago

I know I did not add this self.tableView.estimatedRowHeight = x self.tableView.estimatedSectionHeaderHeight = x