79558777

Date: 2025-04-06 21:49:13
Score: 2
Natty:
Report link

Have you had any luck with this? I noticed this in an App I'm working on that also supports macOS 13 to 15.

It seems to me like the issue is due to the fact that NSHostingView's sceneBridgingOptions targets macOS 14.0+, and for older releases the behavior is similar to that of setting an empty array for the options, meaning SwiftUI won't handle us its toolbars for free.

I havent't really found a solution other than having to recreate my toolbars from scratch in AppKit just to support Ventura (which implies manually hooking the AppKit implementation into SwiftUI views), but I'd love to hear if you've had a different experience.

Reasons:
  • Blacklisted phrase (1.5): any luck
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: vcoutasso