enormego / EGOTableViewPullRefresh

A similar control to the pull down to refresh control created by atebits in Tweetie 2.
http://developers.enormego.com
3.26k stars 878 forks source link

Bug, missing offset from navigation bar #70

Open CaledoniaProject opened 9 years ago

CaledoniaProject commented 9 years ago

Hi,

Has anyone experienced similar issues?

The scrollView scrolls up too much and the first section header of the table is "hidden"

I had to apply a dirty fix,

- (void)egoRefreshScrollViewDataSourceDidFinishedLoading:(UIScrollView *)scrollView {   

    [UIView beginAnimations:nil context:NULL];
    [UIView setAnimationDuration:.3];
    // !!!! dirty fix !!!!
    [scrollView setContentInset:UIEdgeInsetsMake(60.0f, 0.0f, 0.0f, 0.0f)];
    [UIView commitAnimations];

    [self setState:EGOOPullRefreshNormal];

}

amau96 commented 8 years ago

same problem