One Logo Pool Ball
SwiftUI · IOS API REFERENCE

PagePresentationSizing

struct · iOS 18.0+ · SDK 27.1

struct PagePresentationSizing

The size is roughly the size of a page of paper, appropriate for informational or compositional content. On iOS, `.page` sizing enforces a platform-defined floor for the vertical and horizontal dimensions. On macOS, no floor is enforced, however a maximum proposed height is derived from the presenter height. To achieve presentations outside of these bounds, see ``PresentationSizing.fitted`` or implement your own custom ``PresentationSizing``. - Seealso: ``PresentationSizing/page``

Members (1)

method · iOS 18.0+

proposedSize

TypeScript
proposedSize(root: PresentationSizingRoot, context: PresentationSizingContext): _SwiftUICore_ProposedViewSize
Swift declaration
func proposedSize(for root: PresentationSizingRoot, context: PresentationSizingContext) -> ProposedViewSize

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUI types →