SamuKata
kavsoft
kavsoft

patreon


Auto Resizing Dynamic Sheets Using SwiftUI | iOS 26 | Xcode 26

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

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 πŸ‘‡

Auto Resizing Dynamic Sheets Using SwiftUI | iOS 26 | Xcode 26

Comments

Did you manage to make it work it with a scrollview (or navigation stack)?

Gonzalo Fuentes

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

ceasars

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.

Kavsoft

Is it possible to make it work on iOS 16 also?

Andrea


More Creators