2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Swift MacアプリでDockにアイコンを表示しない方法

Last updated at Posted at 2021-07-27

Dockにアイコンを表示するかの判定はInfo.plistにLSUIElementを定義することで実現できる。
LSUIElementはDockにアイコンを置かないアプリかどうか(エージェントアプリかどうか)を判定するキー。

以下のようにtrueを指定することでアイコンを非表示にできた。

<key>LSUIElement</key>
<true/>
2
2
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?