One Logo Pool Ball
SwiftUI · IOS API REFERENCE

FittedPresentationSizing

struct · iOS 18.0+ · SDK 27.1

struct FittedPresentationSizing

The size of the presentation is dictated by the ideal size of the content. The presentation is sized by proposing `nil` in the horizontal and vertical dimensions. - Seealso: ``PresentationSizing/fitted``

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 →