Solved! The problem was that I forgot to call UIRefreshControl
endRefreshing
method when the refreshing operation ended.
Search bar behavior similar to native Contacts app, but with a refresh control
-
21-04-2022 - |
سؤال
I've followed the steps in the accepted answer of this question: Sticky search bar and section header behavior similar to native Contacts app
All works fine, but I want to add a UIRefreshControl
to the table view. It also works fine, but after refreshing, the table view is not displaying correctly. It seems that the UIRefreshControl
is not handling the inset for the search bar in the table view.
Here you can see the UITableView
and the UISearchBar
before pulling down:
And here you can see the UITableView
and the UISearchBar
after releasing:
How can I solve this? Any hints?
المحلول
لا تنتمي إلى StackOverflow