Reply to How do I programmatically dismiss a FileDocument's ContentView? I'm having the same issue. Have you found a solution since? UI Frameworks SwiftUI Aug ’20