Instance Method

cancel()

Cancels an in-progress search operation.

Declaration

func cancel()

Discussion

If no search operation is in progress, this method does nothing.

See Also

Performing the Search

func start(completionHandler: MKLocalSearch.CompletionHandler)

Starts the search and delivers the results to the specified completion handler.

typealias MKLocalSearch.CompletionHandler

A completion handler block for a search operation.

var isSearching: Bool

A Boolean indicating whether the search is currently in progress.