I have an NSPopover which displays from an NSStatusItem. This Popover shows NSAlerts from time to time. The problem is these alerts always appear below the popover, even though they become the key window. Even if I drag it it's still below the popover. Is there a way of making the alerts above the popover?
This will work: DispatchQueue.main.async { alert.window.level = .popUpMenu } // moves the alert above statusbar app
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With