Contents

completerDidUpdateResults(_:)

Tells the method when the specified search completer updates its array of search completions.

Declaration

optional func completerDidUpdateResults(_ completer: MKLocalSearchCompleter)

Parameters

  • completer:

    The search completer object with updated results.

Discussion

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