<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -",
    "macOS: 14.3.0 -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "BrowserEngineKit",
  "identifier" : "/documentation/BrowserEngineKit/BEWebContentProcess",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "BrowserEngineKit"
    ],
    "preciseIdentifier" : "c:objc(cs)BEWebContentProcess"
  },
  "title" : "BEWebContentProcess"
}
-->

# BEWebContentProcess

A class that processes webpage content in an app extension.

```
@interface BEWebContentProcess : NSObject
```

## Overview

A browser app may launch multiple web content extension processes, and each instance of this class represents a separate process.

## Topics

### Creating and invalidating extension processes

[`+  webContentProcessWithBundleID:interruptionHandler:completion:`](/documentation/BrowserEngineKit/BEWebContentProcess/webContentProcessWithBundleID:interruptionHandler:completion:)

Launches a web content extension process asynchronously.

[`+  webContentProcessWithInterruptionHandler:completion:`](/documentation/BrowserEngineKit/BEWebContentProcess/webContentProcessWithInterruptionHandler:completion:)

Launches a web content extension process asynchronously.

[`-  invalidate`](/documentation/BrowserEngineKit/BEWebContentProcess/invalidate)

Stops the web content process.

### Creating XPC connections

[`-  makeLibXPCConnectionError:`](/documentation/BrowserEngineKit/BEWebContentProcess/makeLibXPCConnectionError:)

Creates a new XPC connection to the extension process.

### Coordinating processes

[`-  grantCapability:error:`](/documentation/BrowserEngineKit/BEWebContentProcess/grantCapability:error:)

Grants the specified capability to the process.

[`-  grantCapability:error:invalidationHandler:`](/documentation/BrowserEngineKit/BEWebContentProcess/grantCapability:error:invalidationHandler:)

Grants the specified capability to the process, invoking the handler when the capability becomes invalid.

[`-  createVisibilityPropagationInteraction`](/documentation/BrowserEngineKit/BEWebContentProcess/createVisibilityPropagationInteraction)

Returns an interaction that associates a view with the web content process.

## Relationships

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

### Conforms To

[`BEExtensionProcess`](/documentation/BrowserEngineKit/BEExtensionProcess)

---

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)