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

addInfiniteScrolling run many times #139

Open ethanCun opened 6 years ago

ethanCun commented 6 years ago

tableView?.es.addInfiniteScrolling(handler: {

    })

走了N次了

ethanCun commented 6 years ago
    solved by:
    boarTableView?.estimatedRowHeight = 0
    boarTableView?.estimatedSectionHeaderHeight = 0
    boarTableView?.estimatedSectionFooterHeight = 0
hien352911 commented 5 years ago

i just to need one code: tableView.estimatedRowHeight = 0