center
TypeScriptstatic get center(): PresentationPlacementSwift declarationstatic let center: PresentationPlacementCenters the presentation within the presenting view.
struct · iOS 27.0+ · SDK 27.1
struct PresentationPlacementThe placement of a presentation within the presenting view. Only sheet presentations respect this placement. Use values of this type with the ``View/presentationPlacement(_:)`` modifier.
static get center(): PresentationPlacementSwift declarationstatic let center: PresentationPlacementCenters the presentation within the presenting view.
static get leading(): PresentationPlacementSwift declarationstatic let leading: PresentationPlacementPlaces the presentation on the leading edge of the presenting view.
static get trailing(): PresentationPlacementSwift declarationstatic let trailing: PresentationPlacementPlaces the presentation on the trailing edge of the presenting view.
static get automatic(): PresentationPlacementSwift declarationstatic let automatic: PresentationPlacementThe system determines the placement of the presentation.
No declarations were skipped in this snapshot.