Modifiers
presentationSizing
Sets the sizing of a sheet presentation.
presentationSizing(sizing)
iOS 18+
| Parameter | Type | Description |
|---|---|---|
sizing | PresentationSizingType | The sizing behavior to apply. |
Sets the sizing of a sheet presentation.
Returns: ModifierConfig
See: Official SwiftUI documentation.
Works with
presentationSizing is made for these components. On other components it has no effect.
Sources
The original Expo docs for this page:
- presentationSizing (Modifiers) (
source-of-truth/versions/v57.0.0/sdk/ui/swift-ui/modifiers.md)