Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First Row In Table Hidden After First Pull To Refresh #8

Open
CMoebius opened this issue Nov 21, 2013 · 4 comments
Open

First Row In Table Hidden After First Pull To Refresh #8

CMoebius opened this issue Nov 21, 2013 · 4 comments

Comments

@CMoebius
Copy link

When I pull to refresh the first time, I go back up to the top of the UITableView and the top of my table is hidden under the navigation bar, by I am assume the height of the pull to refresh view. I love this control, but this is a deal breaker for me.

FYI, the demo app has this problem also. I am going to try to track this down, but it's not my code...

@CMoebius
Copy link
Author

This turned out to be a problem with the way I had my UITableView set up. Please disregard.

@yoheimuta
Copy link

+1

@yoheimuta
Copy link

I resolved (worked around ?) with setting contentInset like below.

self.refreshManager = [[MNMBottomPullToRefreshManager alloc] initWithPullToRefreshViewHeight:60.0 tableView:self.tableView withClient:self];

// set the top offset   
UIEdgeInsets insets = self.tableView.contentInset;
insets.top += 60;
self.refreshManager.contentInset = insets;

@jackhumphries
Copy link

jackhumphries commented Jul 21, 2016

@CMoebius Could you elaborate on how you solved this?
@yoheimuta refreshManager doesn't have a contentInset property... how did you do this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants