Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

Flickery UIRefreshControl #28

Closed
zelinliu opened this issue Aug 27, 2014 · 3 comments
Closed

Flickery UIRefreshControl #28

zelinliu opened this issue Aug 27, 2014 · 3 comments
Labels

Comments

@zelinliu
Copy link

After adding shyNavBarManager, i.e. adding the following line:

self.shyNavBarManager.scrollView = self.tableView;

Everything works perfect, except that the UIRefreshControl is not behaving normally: It is flickery, only shows a "crosshair" while dragging down, and disappears when let go at refreshing position. See attached gif.

I have initially implemented everything with UITableViewController, hit the bug of extension view not fixed (#1), and then migrated everything to UIViewController. Therefore I can verify that this bug exists in both UIViewController and UITableViewController.

FYI, here is the code I wrote to add UIRefreshControl

UIRefreshControl *refreshControl = [[UIRefreshControl alloc] init];
[refreshControl addTarget:self action:@selector(refresh)
         forControlEvents:UIControlEventValueChanged];
self.refreshControl = refreshControl;
[self.tableView addSubview:self.refreshControl];

bug

@Mazyod
Copy link
Contributor

Mazyod commented Aug 27, 2014

Thanks for reporting this, we are having the same issue, and it was hard to believe that TLYShyNavBar had anything to do with it.

@zelinliu
Copy link
Author

I am verifying that this issue somehow only exists on simulator...

But the offset while dragging is a little off on device. Will describe after I found a way to upload device screen cast.

@Mazyod
Copy link
Contributor

Mazyod commented Aug 27, 2014

Thanks! This helps a lot... I wish I can find the time to address #7, I think it is the root of all evil.

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

No branches or pull requests

2 participants