Instance Property

isSearching

A Boolean indicating whether the search is currently in progress.

Declaration

var isSearching: Bool { get }

Discussion

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.

class MKLocalSearch.Response

The results from a map-based search.

func cancel()

Cancels an in-progress search operation.