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

# LayerHierarchyHostingView

A view that hosts a layer hierarchy you manage in another process.

```
@MainActor class LayerHierarchyHostingView
```

## Overview

To connect a view hierarchy in another process, create an instance of this class and set its [`handle`](/documentation/BrowserEngineKit/LayerHierarchyHostingView/handle) to a [`LayerHierarchyHandle`](/documentation/BrowserEngineKit/LayerHierarchyHandle) from the other process.

> Important: If you invalidate the associated layer hierarchy, stop displaying the view.

## Topics

### Identifying remote layer hierarchy

[`var handle: LayerHierarchyHandle?`](/documentation/BrowserEngineKit/LayerHierarchyHostingView/handle)

A reference to a layer hierarchy in another process.

## Relationships

### Conforms To

[`UIPasteConfigurationSupporting`](/documentation/UIKit/UIPasteConfigurationSupporting)

[`UIUserActivityRestoring`](/documentation/UIKit/UIUserActivityRestoring)

[`UIFocusItemContainer`](/documentation/UIKit/UIFocusItemContainer)

[`UITraitEnvironment`](/documentation/UIKit/UITraitEnvironment)

[`UIFocusEnvironment`](/documentation/UIKit/UIFocusEnvironment)

[`CVarArg`](/documentation/Swift/CVarArg)

[`UIPopoverPresentationControllerSourceItem`](/documentation/UIKit/UIPopoverPresentationControllerSourceItem)

[`UIFocusItem`](/documentation/UIKit/UIFocusItem)

[`UIDynamicItem`](/documentation/UIKit/UIDynamicItem)

[`CLBodyIdentifiable`](/documentation/CoreLocation/CLBodyIdentifiable)

[`UILargeContentViewerItem`](/documentation/UIKit/UILargeContentViewerItem)

[`UIResponderStandardEditActions`](/documentation/UIKit/UIResponderStandardEditActions)

[`Sendable`](/documentation/Swift/Sendable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`CMBodyIdentifiable`](/documentation/CoreMotion/CMBodyIdentifiable)

[`UIActivityItemsConfigurationProviding`](/documentation/UIKit/UIActivityItemsConfigurationProviding)

[`UIAppearance`](/documentation/UIKit/UIAppearance)

[`CALayerDelegate`](/documentation/QuartzCore/CALayerDelegate)

[`UICoordinateSpace`](/documentation/UIKit/UICoordinateSpace)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

[`UITraitChangeObservable-67e94`](/documentation/UIKit/UITraitChangeObservable-67e94)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`UIAccessibilityIdentification`](/documentation/UIKit/UIAccessibilityIdentification)

[`UIAppearanceContainer`](/documentation/UIKit/UIAppearanceContainer)

### Inherits From

[`UIView`](/documentation/UIKit/UIView)

---

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)