PresentationContentInteraction

A behavior that you can use to influence how a presentation responds to swipe gestures.

StructureiOS 16.4+macOS 13.3+tvOS 16.4+watchOS 9.4+PresentationContentInteraction in SwiftUI

Declaration

React
type PresentationContentInteraction = 'automatic' | 'resizes' | 'scrolls';
Swift
struct PresentationContentInteraction

Pass a literal, or build one with SwiftUI.PresentationContentInteraction from import { SwiftUI } from 'swiftui-react-native'.

Type properties

Overview

Use values of this type with the View.presentationContentInteraction(_:) modifier.

From Apple’s SwiftUI documentation. Code samples there are Swift.

Used by

See also

More in Presentation.