Animation not always when refreshing
I call beginRefreshing a few times, and it seems that only once do I see the animation of the tableView moving down and the spinner rotating then moving back up.
After the first time, when I call beginRefreshing my code refreshes, but there is nothing visible to the user that this is happening. If I move the table down slightly, I can see the spinner is spinning, so it's just the table thats not moving down.
Is there a way I can force the table view to move down?
I will check it.
Is there a way I can force the table view to move down?
In ISRefreshControl, the method managing insets of UIScrollView is setTopInsetsEnabled:completion:.
To call this method from external classes, you should add a line below in ISRefreshControl.h or header of new category of ISRefreshControl.
- (void)setTopInsetsEnabled:(BOOL)enabled completion:(void (^)(void))completion