objective c - how do i to make a window(osx) always hover on top of screen -


I am trying to create an OSX application that has just one window and it will always be at the top of the screen. Does anyone know how to achieve this? Thank you.

You can change window-level level (through -set level :) to NSFloatingWindowLevel.

[Window Set Level: NSFloatingWindowLevel];

The document is here:


Comments