Instance Property


A Boolean indicating whether the search is currently in progress.


var isSearching: Bool { get }


The value of this property is set to true when a search is initiated and remains in that state until the search results (or an appropriate error) are delivered, at which time the property is set to false.

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.

func cancel()

Cancels an in-progress search operation.