Перейти к содержимому

SwiftUI Presentations with Modals, Bottom Sheets, and FullScreen cover in iOS

Karin Prater

0:00 / 0:00

SwiftUI Presentations with Modals, Bottom Sheets, and FullScreen cover in iOS

18 546 просмотров · 3 года назад
Karin Prater
24 тыс. подписчиков
18 546 просмотров · 3 года назад
In this video, I'll show you how to use the various presentation styles available in SwiftUI to create modals, bottom sheets, and fullscreen covers in your iOS apps. You'll learn how to present views on top of your main content, dismiss them, and customize their appearance and behavior. Whether you want to show a settings view, a category selector, or a full screen cover for authentication, I'll guide you through the process step by step. So join me as we explore the power of SwiftUI presentations. Happy coding! 📃 See the code and explanations in this blog post https://www.swiftyplace.com/blog/swif... 00:00 introduction 04:21 Fake Store demo project 06:07 Showing and dismissing a sheet in SwiftUI 08:34 Performing an action when the user dismiss a sheet 10:44 Changing the size of a sheet with presentation detents, and background interactions 17:01 Full screen cover 19:18 Showing a settings view with sheet 20:34 customizing the background and corner radius of sheet 23:38 wrap up If you liked what you learned and you want to see more, check out one of my courses! 👨‍💻 my SwiftUI course https://school.swiftyplace.com/course... 👨‍💻 my Core Data and SwiftUI course https://school.swiftyplace.com/course... 👩🏻‍💻 Combine course https://school.swiftyplace.com/course... #swiftui #swiftuitutorial #sheet #presentation