CCBottomRefreshControl icon indicating copy to clipboard operation
CCBottomRefreshControl copied to clipboard

Invisible in UITableViewController

Open EugeneKazaev opened this issue 9 years ago • 7 comments

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;

EugeneKazaev avatar May 05 '15 23:05 EugeneKazaev

+1 here, unfortunatelly. :+1:

I tried View Debug in sample project: screenshot 2015-05-10 00 16 29

And in my project with regular UITableViewController: screenshot 2015-05-10 00 15 39

So as you can see - in regular UITableViewController bottom refresher hasn't been even added.

8of avatar May 09 '15 20:05 8of

Try adding it in the viewDidAppear:

justMaku avatar May 11 '15 13:05 justMaku

Yeah, it works in viewDidAppear, but the place is weird

EugeneKazaev avatar May 11 '15 14:05 EugeneKazaev

viewDidAppear works for me too. thanks~

phnessu4 avatar Jul 01 '15 04:07 phnessu4

adding in viewDidAppear works fine

hamzaansari09 avatar Jul 13 '15 10:07 hamzaansari09

@justMaku Thanks, pal. It works like a charm! :+1:

8of avatar Jul 14 '15 19:07 8of

@justMaku thanks. But it has to be fixed I think

Hardenn avatar Oct 09 '15 12:10 Hardenn