---
title: "init(_:priority:content:)"
framework: widgetkit
role: symbol
role_heading: Initializer
path: "widgetkit/dynamicislandexpandedregion/init(_:priority:content:)"
---

# init(_:priority:content:)

Creates the object that defines and positions the content of an expanded Live Activity in the Dynamic Island.

## Declaration

```swift
init(_ position: DynamicIslandExpandedRegionPosition, priority: Double = 0, @ViewBuilder content: () -> Content)
```

## Parameters

- `position`: The position for Live Activity content.
- `priority`: The priority that tells the system which content to prioritize when it sizes the content of an expanded Live Activity in the Dynamic Island.
- `content`: The content of an expanded Live Activity.

## See Also

### Creating the expanded presentation

- [DynamicIslandExpandedRegionPosition](widgetkit/dynamicislandexpandedregionposition.md)
- [dynamicIsland(verticalPlacement:)](swiftui/view/dynamicisland(verticalplacement:).md)
- [DynamicIslandExpandedRegionVerticalPlacement](widgetkit/dynamicislandexpandedregionverticalplacement.md)
- [DynamicIslandExpandedContent](widgetkit/dynamicislandexpandedcontent.md)
- [DynamicIslandExpandedContentBuilder](widgetkit/dynamicislandexpandedcontentbuilder.md)
