<!--
{
  "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/PresentationBackgroundInteraction",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI33PresentationBackgroundInteractionV"
  },
  "title" : "PresentationBackgroundInteraction"
}
-->

# PresentationBackgroundInteraction

The kinds of interaction available to views behind a presentation.

```
struct PresentationBackgroundInteraction
```

## Overview

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

## Topics

### Getting interaction types

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

The default background interaction for the presentation.

[`disabled`](/documentation/SwiftUI/PresentationBackgroundInteraction/disabled)

People can’t interact with the view behind a presentation.

[`enabled`](/documentation/SwiftUI/PresentationBackgroundInteraction/enabled)

People can interact with the view behind a presentation.

[`enabled(upThrough:)`](/documentation/SwiftUI/PresentationBackgroundInteraction/enabled(upThrough:))

People can interact with the view behind a presentation up through a
specified detent.



---

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)