FormPresentationSizing
The size is appropriate for forms and slightly less wide than.page
Declaration
type FormPresentationSizing = 'form';struct FormPresentationSizingType properties
'form'
Overview
On iOS, .form 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.form
From Apple’s SwiftUI documentation. Code samples there are Swift.
See also
More in Presentation.
- AutomaticPresentationSizingThe default presentation sizing, appropriate for the platform.
- DismissActionAn action that dismisses a presentation.
- DismissBehaviorProgrammatic window dismissal behaviors.
- DismissWindowActionAn action that dismisses a window associated to a particular scene.
- FileDialogBrowserOptionsThe way that file dialogs present the file system.
- FittedPresentationSizingThe size of the presentation is dictated by the ideal size of the content.
- MenuActionDismissBehaviorThe set of menu dismissal behavior options.
- MenuOrderThe order in which a menu presents its content.
- PagePresentationSizingThe size is roughly the size of a page of paper, appropriate for informational or compositional content.
- PopoverAttachmentAnchorAn attachment anchor for a popover.
- PresentationAdaptationStrategies for adapting a presentation to a different size class.
- PresentationBackgroundInteractionThe kinds of interaction available to views behind a presentation.