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.
如何使 NSView 窗口向上移动到前面。我的应用程序有 3 个窗口,当我在其中一个窗口中按下一个按钮时,我希望另一个窗口移动到这个窗口之上。
使用makeKeyAndOrderFront:,也许?
makeKeyAndOrderFront: