Check out the repo by Sam McGarry here - https://github.com/fieldday-ai/Modals
Keep in mind this does in fact work in iOS 15! SO even though many in the comments might want to point out a more native solution to this, those were introduced in iOS 16. So, this provides a solution that also includes quite a bit of customization to the corner radius, colors & much more because you can also fork this repo and edit it to your heart's content. :]
Смотрите видео How to Build a Custom Sheet in SwiftUI! онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Jared Davidson 30 Сентябрь 2023. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 3,458 раз и оно понравилось 59 посетителям.