How can I stop a UISearchDisplayController from updating as I type?
Question
How can I stop a UISearchDisplayController from updating as I type? numberOfRowsInSection gets called many times as the user types.
Solution
You could change the UISearchBar
's delegate to your view controller, and then only forward some messages to the UISearchDisplayController
.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow