---
title: "webView(_:didCommit:)"
framework: webkit
role: symbol
role_heading: Instance Method
path: "webkit/wknavigationdelegate/webview(_:didcommit:)"
---

# webView(_:didCommit:)

Tells the delegate that the web view has started to receive content for the main frame.

## Declaration

```swift
optional func webView(_ webView: WKWebView, didCommit navigation: WKNavigation!)
```

## Parameters

- `webView`: The web view that is loading the content.
- `navigation`: The navigation object that uniquely identifies the load request.

## Discussion

Discussion After the navigation delegate’s webView(_:decidePolicyFor:decisionHandler:) method approves the navigation response, the web view begins processing it. As changes become ready, the web view calls this method immediately before it starts to update the main frame.

## See Also

### Tracking the load progress of a request

- [webView(_:didStartProvisionalNavigation:)](webkit/wknavigationdelegate/webview(_:didstartprovisionalnavigation:).md)
- [webView(_:didReceiveServerRedirectForProvisionalNavigation:)](webkit/wknavigationdelegate/webview(_:didreceiveserverredirectforprovisionalnavigation:).md)
- [webView(_:didFinish:)](webkit/wknavigationdelegate/webview(_:didfinish:).md)
