---
title: "init(content:)"
framework: swiftui
role: symbol
role_heading: Initializer
path: "swiftui/remoteimmersivespace/init(content:)"
---

# init(content:)

Creates a remote immersive space.

## Declaration

```swift
nonisolated init<C>(@CompositorContentBuilder content: @escaping () -> C) where Content == CompositorContentBuilder.Content<C>, Data == Never, C : CompositorContent
```

## Parameters

- `content`: A compositor content builder that defines the content of the space.

## Discussion

Discussion The space uses the specified content builder to form the content.
