Does `.presentationSizing(.fitted)` actually auto-size SwiftUI sheets?
18:13 07 Jul 2026

I’m testing iOS 18+ SwiftUI sheet sizing and expected .presentationSizing(.fitted) to make a sheet fit its content height.

Minimal example:

.sheet(isPresented: $showSheet) {
    VStack {
        Text("Title")
        Text("Some content")
        Button("Done") {}
    }
    .padding()
    .presentationSizing(.fitted)
}

I expected .presentationSizing(.fitted) to make the sheet fit the intrinsic height of this small VStack, but on iPhone it still appears almost full-screen.

Is this expected behavior? If so, what is .fitted supposed to affect on iPhone, and is a measured .presentationDetents([.height(contentHeight)]) still the only reliable way to get a content-height bottom sheet?

enter image description here

swiftui swiftui-sheet