Instance Property

searching

A Boolean indicating whether the search is currently in progress.

Declaration

@property(nonatomic, readonly, getter=isSearching) BOOL searching;

Discussion

The value of this property is set to YES 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 NO.

See Also

Performing the Search

- startWithCompletionHandler:

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

MKLocalSearchCompletionHandler

A completion handler block for a search operation.

- cancel

Cancels an in-progress search operation.