I've been using sheets in my app EvoHIIT in a number of places to do things like create or share a circuit. The way I have been doing this so far is broken in iOS 14, but works in iOS 13. I use a single sheet view but conditionally show content based on a State variable, updated when a user taps a button to create or share a circuit.
In iOS 14 I am able to replicate this by using multiple sheets instead which is usable, and using different @State variables for hiding or showing them, but I am unsure if this is by design or unintentionally broken.
Example in this repository:
https://github.com/jknlsn/MultipleModalSwiftUI
In iOS 14 I am able to replicate this by using multiple sheets instead which is usable, and using different @State variables for hiding or showing them, but I am unsure if this is by design or unintentionally broken.
Example in this repository:
https://github.com/jknlsn/MultipleModalSwiftUI