---
title: PrimitiveAppExtensionScene
framework: extensionkit
role: symbol
role_heading: Structure
path: extensionkit/primitiveappextensionscene
---

# PrimitiveAppExtensionScene

A type you use to deliver the contents of your app-extension-based UI.

## Declaration

```swift
@MainActor @preconcurrency struct PrimitiveAppExtensionScene
```

## Mentioned in

Including extension-based UI in your interface

## Overview

Overview When defining an AppExtensionScene type, provide a PrimitiveAppExtensionScene structure as the body of that type. This type facilitates the delivery of the scene’s UI views back to the host app for incorporation into the host view controller. When constructing this type, specify one of the defined scene identifiers that the host app supports. For more information about creating scenes for your app extension, see Including extension-based UI in your interface.

## Topics

### Creating a primitive extension scene

- [init(id:content:onConnection:)](extensionkit/primitiveappextensionscene/init(id:content:onconnection:).md)

### Defining the scene contents

- [body](extensionkit/primitiveappextensionscene/body.md)

### Describing the scene

- [debugDescription](extensionkit/primitiveappextensionscene/debugdescription.md)

### Default Implementations

- [CustomDebugStringConvertible Implementations](extensionkit/primitiveappextensionscene/customdebugstringconvertible-implementations.md)

## Relationships

### Conforms To

- [AppExtensionScene](extensionkit/appextensionscene.md)
- [Copyable](swift/copyable.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [Escapable](swift/escapable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### UI definition

- [AppExtensionScene](extensionkit/appextensionscene.md)
- [AppExtensionSceneBuilder](extensionkit/appextensionscenebuilder.md)
