---
title: body
framework: extensionkit
role: symbol
role_heading: Instance Property
path: extensionkit/appextensionscene/body-swift.property
---

# body

The content and behavior of the scene’s interface.

## Declaration

```swift
@MainActor @preconcurrency var body: Self.Body { get }
```

## Discussion

Discussion For the body of your scene, specify a PrimitiveAppExtensionScene structure with the contents you want to display. You can also use that structure to configure an XPC connection for handling any interface-related data exchanges.

## See Also

### Configuring the app extension

- [Body](extensionkit/appextensionscene/body-swift.associatedtype.md)
