---
title: "Prioritize Sheet Content Scrolling | Explore SwiftUI"
description: "Configures the behavior of swipe gestures on a presentation. PresentationContentInteraction.scrolls prioritizes scrolling the content over resizing the sheet"
canonical_url: "https://exploreswiftui.com/library/sheet/prioritize-sheet-content-scrolling"
meta:
  author: "Explore SwiftUI"
  "og:description": "Configures the behavior of swipe gestures on a presentation. PresentationContentInteraction.scrolls prioritizes scrolling the content over resizing the sheet"
  "og:image": "https://exploreswiftui.com/_og/d/c_Component%2Ctitle_Prioritize%2BSheet%2BContent%2BScrolling%2Cdescription_Configures%2Bthe%2Bbehavior%2Bof%2Bswipe%2Bgestures%2Bon%2Ba%2Bpresentation.%2BPresentationContentInteraction.scrolls%2Bprioritizes%2Bscrolling%2Bthe%2Bcontent%2Bover%2Bresizing%2Bthe%2Bsheet.%2Ccategory_Sheet%2Cimage_~L2FwaS9pbWFnZXMvMTQxL3ZhcmlhbnRzLzQ2Nj92PTE3OTAwNzM0Nzg4NDImcj0yJnc9MTI4MCZxPTg1JmY9anBlZw%2CimagePosition_center%2CimageMode_crop%2CimageFrame_~Ym9yZGVyLXJhZGl1czogMjZweCAyNnB4IDBweCAwcHg7IGJvcmRlcjogMXB4IHNvbGlkIHJnYmEoMCwwLDAsMC4wNik7IGJvcmRlci1ib3R0b206IDA7IGJveC1zaGFkb3c6IDAgLTEwcHggNTBweCByZ2JhKDM3LDk5LDIzNSwwLjE4KTs%2Cprops_eyJwbGF0Zm9ybXMiOlsiaU9TIiwiaVBhZE9TIiwibWFjT1MiLCJ3YXRjaE9TIiwidHZPUyIsInZpc2lvbk9TIl19%2Cp_Ii9saWJyYXJ5L3NoZWV0L3ByaW9yaXRpemUtc2hlZXQtY29udGVudC1zY3JvbGxpbmci%2Cs_bjD-dzW8ZujADlZc.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Prioritize Sheet Content Scrolling | Explore SwiftUI"
  "twitter:description": "Configures the behavior of swipe gestures on a presentation. PresentationContentInteraction.scrolls prioritizes scrolling the content over resizing the sheet"
  "twitter:image": "https://exploreswiftui.com/_og/d/c_Component%2Ctitle_Prioritize%2BSheet%2BContent%2BScrolling%2Cdescription_Configures%2Bthe%2Bbehavior%2Bof%2Bswipe%2Bgestures%2Bon%2Ba%2Bpresentation.%2BPresentationContentInteraction.scrolls%2Bprioritizes%2Bscrolling%2Bthe%2Bcontent%2Bover%2Bresizing%2Bthe%2Bsheet.%2Ccategory_Sheet%2Cimage_~L2FwaS9pbWFnZXMvMTQxL3ZhcmlhbnRzLzQ2Nj92PTE3OTAwNzM0Nzg4NDImcj0yJnc9MTI4MCZxPTg1JmY9anBlZw%2CimagePosition_center%2CimageMode_crop%2CimageFrame_~Ym9yZGVyLXJhZGl1czogMjZweCAyNnB4IDBweCAwcHg7IGJvcmRlcjogMXB4IHNvbGlkIHJnYmEoMCwwLDAsMC4wNik7IGJvcmRlci1ib3R0b206IDA7IGJveC1zaGFkb3c6IDAgLTEwcHggNTBweCByZ2JhKDM3LDk5LDIzNSwwLjE4KTs%2Cprops_eyJwbGF0Zm9ybXMiOlsiaU9TIiwiaVBhZE9TIiwibWFjT1MiLCJ3YXRjaE9TIiwidHZPUyIsInZpc2lvbk9TIl19%2Cp_Ii9saWJyYXJ5L3NoZWV0L3ByaW9yaXRpemUtc2hlZXQtY29udGVudC1zY3JvbGxpbmci%2Cs_bjD-dzW8ZujADlZc.png"
  "twitter:title": "Prioritize Sheet Content Scrolling | Explore SwiftUI"
---

> Index of every page on this site: [llms.txt](https://exploreswiftui.com/llms.txt)

**Interactive previews**[ iPhone](https://exploreswiftui.com/iphone?element=141)

# **Prioritize Sheet Content Scrolling**

Configures the behavior of swipe gestures on a presentation. PresentationContentInteraction.scrolls prioritizes scrolling the content over resizing the sheet.

![Prioritize Sheet Content Scrolling - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/141/variants/466?v=1790073478842&r=2&w=800&q=80&f=webp)

### **Platform Compatibility**

iOS 16.4+ iPadOS 16.4+ macOS 13.3+ watchOS 9.4+ tvOS 16.4+ visionOS 1.0+

### **Tags**

### **SwiftUI Code**

[ Docs](<https://developer.apple.com/documentation/photosui/photospicker/presentationcontentinteraction(_:)?changes=la>)

```
@State var showSheet = true

var body: some View {
    Text("Foo")
        .sheet(isPresented: $showSheet) {
            ScrollView {
                ForEach(0 ..< 50) { i in
                    Text("Bar \(i)")
                }
            }
            .presentationDetents([.medium, .large])
            .presentationContentInteraction(.scrolls)
        }
}
```

### **Found an issue or have a suggestion?**

Created: January 31, 2026Updated: January 31, 2026

![Connect Wizard](https://exploreswiftui.com/_ipx/f_webp&q_80&s_48x48/images/connect-wizard-icon.png)

**Connect Wizard**

**Unlock insights App Store Connect doesn’t show you.**

[** Get Started **](https://apps.apple.com/app/apple-store/id6747314580?pt=121213751&ct=Explore%20SwiftUI%20Banner&mt=8)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://exploreswiftui.com/#website","@type":"WebSite","description":"A visual library for SwiftUI APIs, components, and modifiers","inLanguage":"en-US","name":"Explore SwiftUI","url":"https://exploreswiftui.com/","publisher":{"@id":"https://exploreswiftui.com/#identity"}},{"@id":"https://exploreswiftui.com/library/sheet/prioritize-sheet-content-scrolling#webpage","@type":"WebPage","dateModified":"2026-01-31T18:41:41.009Z","datePublished":"2026-01-31T18:37:43.343Z","description":"Configures the behavior of swipe gestures on a presentation. PresentationContentInteraction.scrolls prioritizes scrolling the content over resizing the sheet","name":"Prioritize Sheet Content Scrolling","url":"https://exploreswiftui.com/library/sheet/prioritize-sheet-content-scrolling","breadcrumb":{"@id":"https://exploreswiftui.com/library/sheet/prioritize-sheet-content-scrolling#breadcrumb"},"isPartOf":{"@id":"https://exploreswiftui.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://exploreswiftui.com/library/sheet/prioritize-sheet-content-scrolling"]}],"primaryImageOfPage":{"@id":"https://exploreswiftui.com/#logo"}},{"@id":"https://exploreswiftui.com/#identity","@type":"Organization","description":"A visual library for SwiftUI APIs, components, and modifiers","name":"Explore SwiftUI","url":"https://exploreswiftui.com","logo":{"@id":"https://exploreswiftui.com/#logo"},"sameAs":["https://x.com/Typ0genius","https://mastodon.social/@Typ0genius"]},{"@id":"https://exploreswiftui.com/library/sheet/prioritize-sheet-content-scrolling#article","dateModified":"2026-01-31T18:41:41.009Z","datePublished":"2026-01-31T18:37:43.343Z","description":"Configures the behavior of swipe gestures on a presentation. PresentationContentInteraction.scrolls prioritizes scrolling the content over resizing the sheet","headline":"Prioritize Sheet Content Scrolling","inLanguage":"en-US","name":"Prioritize Sheet Content Scrolling","thumbnailUrl":"https://exploreswiftui.com/api/images/141/variants/466?v=1790073478842&r=2","url":"https://exploreswiftui.com/library/sheet/prioritize-sheet-content-scrolling","@type":["Article","TechArticle"],"about":{"@type":"Thing","name":"SwiftUI"},"author":{"@id":"https://exploreswiftui.com/#identity"},"image":{"@id":"https://exploreswiftui.com/#/schema/image/1"},"isPartOf":{"@type":"WebSite","name":"Explore SwiftUI","url":"https://exploreswiftui.com"},"mainEntityOfPage":{"@id":"https://exploreswiftui.com/library/sheet/prioritize-sheet-content-scrolling#webpage"},"publisher":{"@id":"https://exploreswiftui.com/#identity"}},{"@id":"https://exploreswiftui.com/library/sheet/prioritize-sheet-content-scrolling#/schema/software-source-code/1","@type":"SoftwareSourceCode","codeRepository":"https://developer.apple.com/documentation/photosui/photospicker/presentationcontentinteraction(_:)?changes=la","codeSampleType":"full example","description":"Configures the behavior of swipe gestures on a presentation. PresentationContentInteraction.scrolls prioritizes scrolling the content over resizing the sheet","name":"Prioritize Sheet Content Scrolling SwiftUI Example","programmingLanguage":"Swift","runtimePlatform":"SwiftUI","text":"@State var showSheet = true\n\nvar body: some View {\n    Text(\"Foo\")\n        .sheet(isPresented: $showSheet) {\n            ScrollView {\n                ForEach(0 ..\u003C 50) { i in\n                    Text(\"Bar \\(i)\")\n                }\n            }\n            .presentationDetents([.medium, .large])\n            .presentationContentInteraction(.scrolls)\n        }\n}","about":[{"@type":"Thing","name":"SwiftUI"},{"@type":"Thing","name":"Sheet"},{"@type":"Thing","name":"Prioritize Sheet Content Scrolling"}]},{"@id":"https://exploreswiftui.com/library/sheet/prioritize-sheet-content-scrolling#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://exploreswiftui.com","position":1},{"@type":"ListItem","name":"Sheet","item":"https://exploreswiftui.com/library/sheet","position":2},{"@type":"ListItem","name":"Prioritize Sheet Content Scrolling","item":"https://exploreswiftui.com/library/sheet/prioritize-sheet-content-scrolling","position":3}]},{"@id":"https://exploreswiftui.com/#logo","@type":"ImageObject","caption":"Explore SwiftUI","contentUrl":"https://exploreswiftui.com/apple-touch-icon.png","inLanguage":"en","url":"https://exploreswiftui.com/apple-touch-icon.png"},{"@id":"https://exploreswiftui.com/#/schema/image/1","@type":"ImageObject","contentUrl":"https://exploreswiftui.com/api/images/141/variants/466?v=1790073478842&r=2","inLanguage":"en","url":"https://exploreswiftui.com/api/images/141/variants/466?v=1790073478842&r=2"}]}
```