My code always works with an 'standerd' UITableview, but now i implanted a Tableview in a viewcontroller. My code is not working (pull to refresh) does anyone know why?
In a normal UITableview it works but hmm, maybe i'm missing some stuf because it's a tableview in a ViewController.
i'm using; https://github.com/enormego/EGOTableViewPullRefresh
- (void)reloadTableViewDataSource{
// should be calling your tableviews data source model to reload
// put here just for demo
_reloading = YES;
}
- (void)doneLoadingTableViewData{
// model should call this when its done loading
_reloading = NO;
[_refreshHeaderView egoRefreshScrollViewDataSourceDidFinishedLoading:self.tableView];
}
I used NSlog and it's calling both function's but it not showing the blue 'pull to refresh' bar and it also do not scrolls up after loading.