以下の内容はhttps://anton0825.hatenablog.com/entry/20140722/1412266576より取得しました。


Macのdockアイコンの表示・非表示をruntimeに切り替える

以下でできる。
・PlistのLSUIElementをYESにする。
・下記コードを実行するとDockアイコンが表示される。kProcessTransformToForegroundApplicationをBackgroundに変えれば非表示になる。

    if (![[NSUserDefaults standardUserDefaults] boolForKey:@"LaunchAsAgentApp"]) 
    {
        ProcessSerialNumber psn = { 0, kCurrentProcess };
        TransformProcessType(&psn, kProcessTransformToForegroundApplication);
        SetFrontProcess(&psn);
    }

参考:cocoa - Modify Info.plist to set "Application is agent(UIElement)" at runtime - Stack Overflow




以上の内容はhttps://anton0825.hatenablog.com/entry/20140722/1412266576より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14