CCBottomRefreshControl
CCBottomRefreshControl copied to clipboard
Invisible in UITableViewController
I'm trying to use it inside of regular UITableViewContoller, it works as expected, but the control is invisible, so i cant see it
UIRefreshControl *refreshControl = [[UIRefreshControl alloc] init];
refreshControl.attributedTitle = [[NSAttributedString alloc] initWithString:@"Pull to load more"];
refreshControl.triggerVerticalOffset = 100.;
[refreshControl addTarget:self
action:@selector(loadMoreEntitiesTaped:)
forControlEvents:UIControlEventValueChanged];
self.tableView.bottomRefreshControl = refreshControl;
+1 here, unfortunatelly. :+1:
I tried View Debug in sample project:
And in my project with regular UITableViewController:
So as you can see - in regular UITableViewController bottom refresher hasn't been even added.
Try adding it in the viewDidAppear:
Yeah, it works in viewDidAppear, but the place is weird
viewDidAppear works for me too. thanks~
adding in viewDidAppear works fine
@justMaku Thanks, pal. It works like a charm! :+1:
@justMaku thanks. But it has to be fixed I think