uhfocuz uhfocuz - 6 months ago 25
iOS Question

UIRefreshController Ending Animation Issue

When I call for

self.refreshControl.endRefreshing()
it snaps the tableView back to it original spot like it should. How should I go about animating it so that it fluently returns to its original spot on
endRefreshing()
?

Answer

To anyone having this issue, you must call your endRefreshing method before you reload the table data. Otherwise when the table updates it will override the refresher and cause it to look buggy.