SwiftUI Tutorial: Working with Sheet

How to present a modal view using sheet

Arc Sosangyo
Dev Genius
Published in
4 min readFeb 7, 2022

--

Figure 1.

Sheet modifier in SwiftUI is used to pop up a new view over a current one, while still being draggable to dismiss.

This article is part of my SwiftUI Tutorial series.

We’re going to make a simple app that will show a modal view when a button is pressed. Then we can write down…

--

--