---
title: "completerDidUpdateResults(_:)"
framework: mapkit
role: symbol
role_heading: Instance Method
path: "mapkit/mklocalsearchcompleterdelegate/completerdidupdateresults(_:)"
---

# completerDidUpdateResults(_:)

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

## Declaration

```swift
optional func completerDidUpdateResults(_ completer: MKLocalSearchCompleter)
```

## Parameters

- `completer`: The search completer object with updated results.

## Discussion

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

- [completer(_:didFailWithError:)](mapkit/mklocalsearchcompleterdelegate/completer(_:didfailwitherror:).md)
