Tells the host app to cancel the app extension request, with a supplied error.
On This Page
- (void)cancelRequestWithError:(NSError *)error;
The error object to return. It must be non-nil.
On return, the userInfo dictionary of the NSError object contains a key named NSExtensionItemsAndErrorsKey which has as its value a dictionary of NSExtensionItem objects and associated NSError instances.
Tells the host app to complete the app extension request with an array of result items.