Auto Resizing Dynamic Sheets Using SwiftUI | iOS 26 | Xcode 26
🕑 Added 2025-08-31 13:32:10 +0000 UTCHello Guys πππ
In this video, Iβll show you how we can create a dynamic sheet which will automatically resizes its detents based on the given content view using SwiftUI.
YouTube Video: https://youtu.be/KM3nXKnOmvM
Hello Guys πππ
In this video, Iβll show you how we can create a dynamic sheet which will automatically resizes its detents based on the given content view using SwiftUI.
YouTube Video: https://youtu.be/KM3nXKnOmvM
Download Code π
Comments
Gonzalo Fuentes
Did you manage to make it work it with a scrollview (or navigation stack)?
ceasars
I tried to make this work with scrollview (vertical) inside sheet, I could not, however I was trying to make navigationStack inside sheet, you gave me the idea that update the same sheet with switch and animations
Kavsoft
I believe with minor modifications, we can make it compatible with iOS 16.4 and later versions, as presentation detents are not available in previous versions.
Andrea
Is it possible to make it work on iOS 16 also?