Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/cocoa/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Cocoa 如何使在单独进程中运行的UI看起来像是在我的进程中?_Cocoa - Fatal编程技术网

Cocoa 如何使在单独进程中运行的UI看起来像是在我的进程中?

Cocoa 如何使在单独进程中运行的UI看起来像是在我的进程中?,cocoa,Cocoa,Apple Help Viewer就是我想要的一个例子:它是一个单独的过程,但没有菜单栏,不显示在dock中,并且在顶部浮动。因此,它似乎正在当前进程中运行。我如何用Cocoa实现这一点?用正确的关键字搜索一下,我就找到了解决方案: 将以下内容添加到Info.plist文件: <key>LSUIElement</key> <string>1</string> LSUIElement 1. 这得益于用正确的关键字在谷歌上搜索一下,我找到了解决方案

Apple Help Viewer就是我想要的一个例子:它是一个单独的过程,但没有菜单栏,不显示在dock中,并且在顶部浮动。因此,它似乎正在当前进程中运行。我如何用Cocoa实现这一点?

用正确的关键字搜索一下,我就找到了解决方案:

将以下内容添加到Info.plist文件:

<key>LSUIElement</key>
<string>1</string>
LSUIElement
1.

这得益于用正确的关键字在谷歌上搜索一下,我找到了解决方案:

将以下内容添加到Info.plist文件:

<key>LSUIElement</key>
<string>1</string>
LSUIElement
1.
这是我的荣幸