One Logo Pool Ball
SwiftUI · IOS API REFERENCE

PresentationPlacement

struct · iOS 27.0+ · SDK 27.1

struct PresentationPlacement

The placement of a presentation within the presenting view. Only sheet presentations respect this placement. Use values of this type with the ``View/presentationPlacement(_:)`` modifier.

Members (4)

get · iOS 27.0+

center

TypeScript
static get center(): PresentationPlacement
Swift declaration
static let center: PresentationPlacement

Centers the presentation within the presenting view.

get · iOS 27.0+

leading

TypeScript
static get leading(): PresentationPlacement
Swift declaration
static let leading: PresentationPlacement

Places the presentation on the leading edge of the presenting view.

get · iOS 27.0+

trailing

TypeScript
static get trailing(): PresentationPlacement
Swift declaration
static let trailing: PresentationPlacement

Places the presentation on the trailing edge of the presenting view.

get · iOS 27.0+

automatic

TypeScript
static get automatic(): PresentationPlacement
Swift declaration
static let automatic: PresentationPlacement

The system determines the placement of the presentation.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUI types →