Contents

init(_:priority:content:)

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

Declaration

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