日々精進

新しく学んだことを書き留めていきます

ウィンドウを最前面に持ってくる方法

[NSApp activateIgnoringOtherApps:YES];

参考:cocoa - How to bring NSWindow to front and to the current Space? - Stack Overflow