Answer the question
In order to leave comments, you need to log in
How to programmatically reload searchResultsTableView?
The thing is, I have a tableView filled with data, I need to search for data that is not in this table. The search takes place using the RESTful API, i.e. via HTTP, but the problem is that when I enter the search text into the searchBar, it sends an HTTP request, and immediately reloads the searchResultsTableView without waiting for a response. For solution I have to programmatically reload searchResultsTableView when getting response from server, but I can't do that, view code
[[_searchController searchResultsTableView] reloadData];
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question