Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Content inset bug fix.

  • Loading branch information...
commit e4de3dad6e2573448f3f518367e649f94190561c 1 parent ad6483d
@devindoty devindoty authored
View
4 Demo/TableViewPull/Classes/EGOTableViewPullRefresh.m
@@ -51,7 +51,7 @@ - (void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL
[refreshHeaderView toggleActivityView];
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.2];
- self.contentInset = UIEdgeInsetsMake(60.0f, 0.0f, 40.0f, 0.0f);
+ self.contentInset = UIEdgeInsetsMake(60.0f, 0.0f, 00.0f, 0.0f);
[UIView commitAnimations];
}
}
@@ -63,7 +63,7 @@ - (void)dataSourceDidFinishLoadingNewData{
[refreshHeaderView flipImageAnimated:NO];
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:.3];
- [self setContentInset:UIEdgeInsetsMake(0.0f, 0.0f, 40.0f, 0.0f)];
+ [self setContentInset:UIEdgeInsetsMake(0.0f, 0.0f, 00.0f, 0.0f)];
[refreshHeaderView setStatus:kPullToReloadStatus];
[refreshHeaderView toggleActivityView];
[UIView commitAnimations];
View
4 EGOTableViewPullRefresh/Classes/EGOTableViewPullRefresh.m
@@ -51,7 +51,7 @@ - (void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL
[refreshHeaderView toggleActivityView];
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.2];
- self.contentInset = UIEdgeInsetsMake(60.0f, 0.0f, 40.0f, 0.0f);
+ self.contentInset = UIEdgeInsetsMake(60.0f, 0.0f, 0.0f, 0.0f);
[UIView commitAnimations];
}
}
@@ -63,7 +63,7 @@ - (void)dataSourceDidFinishLoadingNewData{
[refreshHeaderView flipImageAnimated:NO];
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:.3];
- [self setContentInset:UIEdgeInsetsMake(0.0f, 0.0f, 40.0f, 0.0f)];
+ [self setContentInset:UIEdgeInsetsMake(0.0f, 0.0f, 0.0f, 0.0f)];
[refreshHeaderView setStatus:kPullToReloadStatus];
[refreshHeaderView toggleActivityView];
[UIView commitAnimations];
Please sign in to comment.
Something went wrong with that request. Please try again.