Instance Method


Called when the specified search completer updates its array of search completions.


optional func completerDidUpdateResults(_ completer: MKLocalSearchCompleter)



The search completer object whose results were updated.


After receiving results from a query, the search completer updates its results property with the new MKLocalSearchCompletion objects and calls this method. Use this method to update your app’s interface based on the new search results. For example, you might update a table that you use to display search results to the user.

See Also

Getting the Search Results

func completer(MKLocalSearchCompleter, didFailWithError: Error)

Called when the specified search completer is unable to generate a list of search results.