Closed deskside closed 1 year ago
Github Repo
You can add a card to your app in two different ways. The first one is by adding a .slideOverCard() modifier, which works similarly to a .sheet():
.slideOverCard(isPresented: $isPresented) { // Here goes your awesome content }
Here, $isPresented is a boolean binding. This way you can dismiss the view anytime by setting it to false.
This is not running elegantly when I use a SwiftUI TabView. I abandon this.
Github Repo
You can add a card to your app in two different ways. The first one is by adding a .slideOverCard() modifier, which works similarly to a .sheet():
Here, $isPresented is a boolean binding. This way you can dismiss the view anytime by setting it to false.