hide icons from dock mac code example

Example: hide app icon from dock mac

1. quit the application you want to hide from the dock
2. Go to your applications folder and right control-click on the app you want to hide from the dock
3. Click on "Show contents"
4. Open the "Contents" folder
5. Open the file Info.plist with TextEdit (right click -> "Open with...")
7. Just before these two lines type the following:
<key>LSUIElement</key>
<true/>
8. Save and close the file
9. Re-open the app - the dock icon should no longer be visible

Tags:

Misc Example