<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BrowserEngineKit",
  "identifier" : "/documentation/BrowserEngineKit/LayerHierarchy/handle",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "BrowserEngineKit"
    ],
    "preciseIdentifier" : "c:objc(cs)BELayerHierarchy(py)handle"
  },
  "title" : "handle"
}
-->

# handle

A reference to the layer hierarchy that you add to the hosting view.

```
var handle: LayerHierarchyHandle { get }
```

## Discussion

Get the handle in your extension process, then use XPC to send it to the browser app.
In the browser app, add the handle to a [`LayerHierarchyHostingView`](/documentation/BrowserEngineKit/LayerHierarchyHostingView).

---

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)