<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -",
    "macOS: 14.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BrowserEngineKit",
  "identifier" : "/documentation/BrowserEngineKit/RenderingProcess",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "BrowserEngineKit"
    ],
    "preciseIdentifier" : "s:16BrowserEngineKit16RenderingProcessV"
  },
  "title" : "RenderingProcess"
}
-->

# RenderingProcess

A process that manages rendering in an app extension.

```
struct RenderingProcess
```

## Overview

A browser can have one or more rendering extensions, each of which need a separate bundle identifier. The app can launch only one instance of each rendering extension.

## Topics

### Creating and invalidating extension processes

[`init(bundleIdentifier: String?, onInterruption: () -> Void) async throws`](/documentation/BrowserEngineKit/RenderingProcess/init(bundleIdentifier:onInterruption:))

Launches a rendering extension process asynchronously.

[`func invalidate()`](/documentation/BrowserEngineKit/RenderingProcess/invalidate())

Stops the rendering process.

### Creating XPC connections

[`func makeLibXPCConnection() throws -> xpc_connection_t`](/documentation/BrowserEngineKit/RenderingProcess/makeLibXPCConnection())

Creates a new XPC connection to the extension process.

### Coordinating processes

[`func grantCapability(ProcessCapability) throws -> ProcessCapability.Grant`](/documentation/BrowserEngineKit/RenderingProcess/grantCapability(_:))

Grants the specified capability to the process.

[`func grantCapability(ProcessCapability, invalidationHandler: () -> Void) throws -> ProcessCapability.Grant`](/documentation/BrowserEngineKit/RenderingProcess/grantCapability(_:invalidationHandler:))

Grants the specified capability to the process and observes an invalidation closure.

[`func createVisibilityPropagationInteraction() -> any UIInteraction`](/documentation/BrowserEngineKit/RenderingProcess/createVisibilityPropagationInteraction())

Returns an interaction that associates a view with the rendering process.



---

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)