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) } } } } } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
May ’23
Reply to Custom fonts not detected in Xcode
It did not work for me and I solved it using "PostScript name" that can be obtained by installing the font on the mac and obtaining information specifically about the font in question in "Font Book"
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Nov ’22
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) } } } } } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’23