As of iOS 13 with the new card style default presentation of modal view controllers users can dismiss these with a downward swipe gesture by default.
If this behaviour is not desired isModalInPresentation can be set to true to disable it.
In SwiftUI the sheet modifier does not seem to expose this option and will always be dismissed.
An alternative is to use fullScreenCover — but this loses the card effect.
Is there an option to prevent dismissing SwiftUI sheets using the gesture mentioned?
If this behaviour is not desired isModalInPresentation can be set to true to disable it.
In SwiftUI the sheet modifier does not seem to expose this option and will always be dismissed.
An alternative is to use fullScreenCover — but this loses the card effect.
Is there an option to prevent dismissing SwiftUI sheets using the gesture mentioned?