<!--
{
  "availability" : [
    "iOS: 16.4.0 -",
    "iPadOS: 16.4.0 -",
    "macCatalyst: 16.4.0 -",
    "macOS: 13.3.0 -",
    "tvOS: 16.4.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 9.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/PresentationContentInteraction",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI30PresentationContentInteractionV"
  },
  "title" : "PresentationContentInteraction"
}
-->

# PresentationContentInteraction

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

```
struct PresentationContentInteraction
```

## Overview

Use values of this type with the
[`presentationContentInteraction(_:)`](/documentation/SwiftUI/View/presentationContentInteraction(_:)) modifier.

## Topics

### Getting interaction behaviors

[`automatic`](/documentation/SwiftUI/PresentationContentInteraction/automatic)

The default swipe behavior for the presentation.

[`resizes`](/documentation/SwiftUI/PresentationContentInteraction/resizes)

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

[`scrolls`](/documentation/SwiftUI/PresentationContentInteraction/scrolls)

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

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)