Contents

proposedSize

The size proposed to the root view.

Declaration

@MainActor final var proposedSize: ProposedViewSize { get set }

Discussion

The default value of this property, unspecified, produces an image that matches the original view size. You can provide a custom ProposedViewSize to override the view’s size in one or both dimensions.

See Also

Accessing renderer properties