Cancels a query operation.
On This Page
When you cancel a query, and the query hasn’t already completed, completionHandler is called with the CSSearchQueryError.Code.cancelled error code.
Asynchronously queries the index for items that match the query object’s specifications.
var isCancelled: Bool
A Boolean value that indicates if the query has been cancelled.