Starts the search and delivers the results to the specified completion handler.
- iOS 6.1+
- macOS 10.9+
- tvOS 9.2+
The completion handler block that processes the results. This parameter must not be
You use this method to initiate a map-based search operation. The search runs until the results are delivered, at which point the specified completion handler is called.
You should call this method only once to start the search operation. Calling this method while the search is running does not stop the original search operation from finishing. However, for each subsequent call, the search object executes your completion handler and passes an error object to it.
The provided completion handler is always executed on your app’s main thread. The local search object keeps a reference to the completion handler block until the results (or an error) are delivered, at which point it relinquishes that reference.