---
title: "webViewWebContentProcessDidTerminate(_:)"
framework: webkit
role: symbol
role_heading: Instance Method
path: "webkit/wknavigationdelegate/webviewwebcontentprocessdidterminate(_:)"
---

# webViewWebContentProcessDidTerminate(_:)

Tells the delegate that the web view’s content process was terminated.

## Declaration

```swift
optional func webViewWebContentProcessDidTerminate(_ webView: WKWebView)
```

## Parameters

- `webView`: The web view whose underlying web content process was terminated.

## Discussion

Discussion Web views use a separate process to render and manage web content. WebKit calls this method when the process for the specified web view terminates for any reason.

## See Also

### Responding to navigation errors

- [webView(_:didFail:withError:)](webkit/wknavigationdelegate/webview(_:didfail:witherror:).md)
- [webView(_:didFailProvisionalNavigation:withError:)](webkit/wknavigationdelegate/webview(_:didfailprovisionalnavigation:witherror:).md)
