I have implemented a SearchBar using an UIViewController, UISearchBarDelegate, UISearchDisplayDelegate, and when the search performs, my program send a http request to the server and then parser the response body. And this will cause the search bar delay for a few second after each character typed.
So I want to turn off the "live search" of the search bar so that it will not perform search every time I type a character. And also I want to perform search and display the data to the tableview when I click the "Search" button of the keyboard. What can I do?