Instance Method

webView(_:resource:didFinishLoadingFrom:)

Invoked when all of the data for a given resource is loaded.

Declaration

optional func webView(_ sender: WebView!, resource identifier: Any!, didFinishLoadingFrom dataSource: WebDataSource!)

Parameters

sender

The web view that sent this message.

identifier

An identifier object used to track the resource being loaded by dataSource.

dataSource

The data source for this web view.

Discussion

The identifier parameter is used to track the resource being loaded by dataSource. Delegates might implement this method to update the load status of an individual resource.

See Also

Loading Content

func webView(WebView!, resource: Any!, willSend: URLRequest!, redirectResponse: URLResponse!, from: WebDataSource!) -> URLRequest!

Invoked before a request is initiated for a resource and returns a possibly modified request.

Deprecated
func webView(WebView!, resource: Any!, didReceiveContentLength: Int, from: WebDataSource!)

Invoked when some of the data for a given resource has arrived.

Deprecated