Рет қаралды 17,202
In this SwiftUI Modal Transition Tutorial I show you how to present a Modal popup with the help of the transition modifier. You will also learn how to use a drag gesture to change the height of the modal view. You will also learn how to center the content inside the modal to display text nicely using a ZStack.
In this SwiftUI Tutorial we will be working with XCode 12 and SwiftUI 2.0, but the source code is also working with SwiftUI 3.0
🔴 SUPPORT ME ON PATREON:
/ haipp
► WATCH NEXT:
○ Create another Modal Popup: • SwiftUI Modal Popup: E...
○ Create a Pinterest Grid: • How To Create a PINTER...
○ Master SwiftUI LazyGrids: • SwiftUI Grid Tutorial:...
► SOCIAL MEDIA
Instagram: / thisishaipp
TIMESTAMPS:
00:00 Intro
00:21 Adding Background
01:54 Adding Modal View
04:32 Adding Quote
07:17 Adding Drag Gesture
10:28 Adding Background Opacity
🟣 Join the Discord Community Server:
/ discord
🔵 Music:
www.epidemicsound.com