Protocol

MKLocalSearchCompleterDelegate

Defines the methods for receiving search completion data.

Declaration

@protocol MKLocalSearchCompleterDelegate

Overview

You use this protocol when implementing an auto-complete solution that is tied to a map in your app. As the user types search terms, use an MKLocalSearchCompleter object to start searching for valid completions. The delegate you assign to that object must conform to this protocol. As it receives completions, the local search completer calls the methods of this protocol to deliver the results.

Topics

Getting the Search Results

- completerDidUpdateResults:

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

- completer:didFailWithError:

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

Relationships

Inherits From

See Also

Receiving the Search Results

delegate

The object that receives the completion results.