---
title: "attributeToHostApp(_:)"
framework: Foveated Streaming
role: symbol
role_heading: Instance Method
platforms: [visionOS 27.0+]
path: "foveatedstreaming/foveatedstreamingprovidercontext/attributetohostapp(_:)-50mip"
---

# attributeToHostApp(_:)

Attributes an IOSurface’s memory to the host app instead of the extension.

## Declaration

```swift
@MainActor final func attributeToHostApp(_ surface: IOSurface)
```
