Modifiers
presentationBackgroundInteraction
Controls interaction with the content behind a sheet.
presentationBackgroundInteraction(interaction)
iOS 16.4+
| Parameter | Type | Description |
|---|---|---|
interaction | PresentationBackgroundInteractionType | The background interaction behavior. |
Controls interaction with the content behind a sheet.
Returns: ModifierConfig
See: Official SwiftUI documentation.
Works with
Sources
The original Expo docs for this page:
- presentationBackgroundInteraction (Modifiers) (
source-of-truth/versions/v57.0.0/sdk/ui/swift-ui/modifiers.md)