-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refresh action is call twice without calling tableView.startPullToRefresh() #12
Comments
Hi, I don't know why that might happen. Can you send me your project, or create demo one with issue so I can check? |
Thanks for your answer! He I have prepared you a demo project. Here is de project Thanks for your help! |
It looks like there is a problem with translucent navigation bar. If your project doesn't require it you can turn it off and it should work then. I will need more time to look into this. Thanks for reporting |
Yes! that's the problem! the translucent navigation bar... |
It turned out that problem isnt translucent navigation bar but |
Maybe in the demo project you should put those code on ViewDidAppear. |
Hi! I have adde the Refresher framework to my project, great work! But I am facing a problem.
I've just added a tableView to a ViewController and create the Outlet, delegate and datasource and on viewDidLoad I have added:
tableView.addPullToRefreshWithAction {
NSOperationQueue().addOperationWithBlock {
sleep(2)
NSOperationQueue.mainQueue().addOperationWithBlock {
self.tableView.stopPullToRefresh()
}
}
}
The problem is that automatically when the view is load, the refresh action is done twice!
I am not calling tableView.startPullToRefresh() at any point of my code, if I had the tableView.startPullToRefresh() on viewDidAppear as in the demo project the refresh action will be ejecute three times!
Any idea of what the problem could be?
Thanks very much for your help
The text was updated successfully, but these errors were encountered: