Closed CainLuo closed 5 years ago
where are you seeing the call tobeginRefreshing
in my code? The line scrollView.refreshControl?.beginRefreshing()
does not exist in my viewDidLoad
method. The refresh control is triggered by the user pulling the scroll view down.
This is the demo code I wrote. Now I have found the problem and solved it. Thank you
Hello, There is a question about UIRefreshControl, I tried to rewrite your RefreshScroll Project in Xcode 12.2.1, but found that UIRefreshControl needs manual pull to work, and your Demo directly calls scrollView.refreshControl?.beginRefreshing() Can work, what are you doing?
Even more strange is that I copied the Main.storyboard file of the RefreshScroll Project to my Demo Project and it works fine.