You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The UIActivityView doesn't appear after calling "beginRefreshing". That is only happening when a UITableView has a tableHeaderView set up, like this code:
[refreshControl beginRefreshing];
//Hack to fix the Bug in the ODRefreshControl when UITableView has a header
[tableView setContentOffset:CGPointMake(0.0f, -44.0f) animated:YES];
The text was updated successfully, but these errors were encountered:
Hello,
The UIActivityView doesn't appear after calling "beginRefreshing". That is only happening when a UITableView has a tableHeaderView set up, like this code:
ODRefreshControl *refreshControl = [[ODRefreshControl alloc] initInScrollView:self.tableView];
[refreshControl addTarget:self action:@selector(dropViewDidBeginRefreshing:) forControlEvents:UIControlEventValueChanged];
self.tableView.tableHeaderView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, 10)];
[refreshControl beginRefreshing];
Thank you for this Refresh Control guys!
Edit
I fixed with this code:
The text was updated successfully, but these errors were encountered: