One Logo Pool Ball
SwiftUI · IOS API REFERENCE

PresentationContentInteraction

struct · iOS 16.4+ · SDK 27.1

struct PresentationContentInteraction

A behavior that you can use to influence how a presentation responds to swipe gestures. Use values of this type with the ``View/presentationContentInteraction(_:)`` modifier.

Members (3)

get · iOS 16.4+

resizes

TypeScript
static get resizes(): PresentationContentInteraction
Swift declaration
static var resizes: PresentationContentInteraction { get }

A behavior that prioritizes resizing a presentation when swiping, rather than scrolling the content of the presentation.

get · iOS 16.4+

scrolls

TypeScript
static get scrolls(): PresentationContentInteraction
Swift declaration
static var scrolls: PresentationContentInteraction { get }

A behavior that prioritizes scrolling the content of a presentation when swiping, rather than resizing the presentation.

get · iOS 16.4+

automatic

TypeScript
static get automatic(): PresentationContentInteraction
Swift declaration
static var automatic: PresentationContentInteraction { get }

The default swipe behavior for the presentation.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUI types →