I found a solution for macOS deployment 14.4:
let window = NSApp.windows.first { $0.isKeyWindow }
window?.toggleFullScreen(nil)
Post
Replies
Boosts
Views
Activity
Just ridiculous. If you make your own "Sign In with Apple" button as a UIViewRepresentable then it works fine. It's not too difficult either.