Post

Replies

Boosts

Views

Activity

Reply to SwiftUI sheet automatically dismisses itself
I've been having the exact same problem with a sheet dismissing itself only the first time. I tried attaching the sheet to various places. Nothing worked until I tried the outermost member of my hierarchy: a Form. Attaching it there solved the problem.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’24