ISRefreshControl icon indicating copy to clipboard operation
ISRefreshControl copied to clipboard

Animation not always when refreshing

Open ddaddy opened this issue 11 years ago • 1 comments

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?

ddaddy avatar Mar 02 '13 14:03 ddaddy

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

ishkawa avatar Mar 05 '13 07:03 ishkawa