<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WKNavigationDelegate/webView(_:didCommit:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "c:objc(pl)WKNavigationDelegate(im)webView:didCommitNavigation:"
  },
  "title" : "webView(_:didCommit:)"
}
-->

# webView(_:didCommit:)

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

```
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

After the navigation delegate’s [`webView(_:decidePolicyFor:decisionHandler:)`](/documentation/WebKit/WKNavigationDelegate/webView(_:decidePolicyFor:decisionHandler:)-19mn2) 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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)