Post

Replies

Boosts

Views

Activity

Reply to SwiftUI Fullscreen Mac os
@conath reply works great only fix "deadline": @main struct ArabicForKidsMacApp: App { var body: some Scene { WindowGroup { ContentView() .onAppear { DispatchQueue.main.asyncAfter(deadline: .now()) { if let window = NSApplication.shared.windows.last { window.toggleFullScreen(nil) } } } } } }
May ’23