简体   繁体   中英

NSPopover OS X Application

I am developing a menu bar application for os x. I am using NSPopover to create a popup window.

However when some other application is full screen that popup is not visible. What settings should be set, so that popup window is always on top.

I struggled with this as well. When I had this problem, I created a invisible window that would flow above all other windows, including full screen ones. The window would then activate the popover.

However, I found a much cleaner solution here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM