Instance Method

webView:stopURLSchemeTask:

Stops loading data for a particular task.

Required.

Declaration

- (void)webView:(WKWebView *)webView stopURLSchemeTask:(id<WKURLSchemeTask>)urlSchemeTask;

Parameters

webView

The web view invoking the method.

urlSchemeTask

The task that the handler should end.

Discussion

WebKit calls this method on your handler to tell it to stop processing this task. After this method is called, your handler must not call any methods on the task object. An exception will be thrown if it does.

See Also

Handling URL Scheme Tasks

- webView:startURLSchemeTask:

Starts loading the data for a particular resource.

Required.