<!--
{
  "availability" : [
    "iOS: 18.4.0 -",
    "iPadOS: 18.4.0 -",
    "macCatalyst: 18.4.0 -",
    "macOS: 15.4.0 -",
    "visionOS: 2.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WKWebExtensionController",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WKWebExtensionController"
  },
  "title" : "WKWebExtensionController"
}
-->

# WKWebExtensionController

An object that manages a set of loaded extension contexts.

```
@MainActor class WKWebExtensionController
```

## Overview

You can have one or more extension controller instances, allowing different parts of the app to use different sets of extensions.

You can associate a controller with [`WKWebView`](/documentation/WebKit/WKWebView) using the [`webExtensionController`](/documentation/WebKit/WKWebViewConfiguration/webExtensionController) property on [`WKWebViewConfiguration`](/documentation/WebKit/WKWebViewConfiguration).

---

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)