I want to display results instantly while user enters some information (like google search). For now, I am doing this using a button. Is there a way to do it instantly? Thanks for any help.
I want to display results instantly while user enters some information (like google search).
Share
Yes, if the search field is a UISearchBar in its delegate you can implement:
and do something useful in the “backgroundAutocomplete” method, like populating a UITableView with suggestions.
The method will be called every time a user types a character…