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.
当我在 Xcode 4.3.3 上运行我的可可应用程序时。使用狮子 10.7.4。应用程序启动并出现在 Xcode 后面。几次出现在前面,不知道发生了什么。有人遇到过这样的问题吗?我的主要 NSWindow 是一个无边框窗口。
在启动期间运行以下行:
[NSApp activateIgnoringOtherApps:YES];