Hood Length iOS ODRefreshControll

Does anyone know how to reduce the pull out amount you need to do to update ODRefreshControll? I played around with the default settings, but no luck. There is little documentation on it. Has anyone had success with this?

+3
source share
1 answer
- (void)dropViewDidBeginRefreshing:(ODRefreshControl *)refreshControl
{
    double delayInSeconds = 2.0;
    dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, delayInSeconds * NSEC_PER_SEC);
    dispatch_after(popTime, dispatch_get_main_queue(), ^(void){

        //ADD
        [self callMethod];

        [refreshControl endRefreshing];
});
}
+1
source

All Articles