Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Lion MacOS 中有一项功能允许将窗口拖到其他空间中。我想为我的 NSWindow禁用这个机会。
我有一个基本窗口,其中设置了 collectionBehavior 以加入所有空间。我正在实现将子视图拖动到单独的窗口(浮动)中的能力。当用户将此浮动窗口拖到屏幕边缘时,Lion 会自动切换空格。这不是一个理想的行为。
如何禁用此窗口在空格之间拖动?