Force keeping app window on top - Mac OS X

谁说我不能喝 提交于 2020-01-13 08:42:07

问题


Earlier i used Afloat for this but now it seems to be dead...

Is there any alive software or any simple "handy" way to force keeping app window on top over others (including fullscreen apps)

I can imagine this can be done with adding something to plist files inside .app like

<!-- Info.plist -->

<key>LSUIElement</key>
<true /> 

for showing app over any fullscreen app (with keystroke)

Google didn't help me much (


回答1:


Set the level of your mainWindow as

[_window setLevel:NSModalPanelWindowLevel];


来源:https://stackoverflow.com/questions/19567781/force-keeping-app-window-on-top-mac-os-x

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!