Adding a Sidebar Icon to my FinderSync extension

1.1k Views Asked by At

I'm developing a FinderSync extension based on the following documentation:

https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/Finder.html

I'm failing to add a sidebar icon.

I've followed the steps: Created the .iconset folder and filled it with the requested PNGs. Added the folder to my info.plist etc.

But I don't see any icon in the sidebar on my monitored folders.

Context menu, toolbar button and badges works fine.

What could I be missing? Is there any limitation that the documentation fails to mention? Anything tricky with step 4?

2

There are 2 best solutions below

4
On BEST ANSWER

Apparently its indeed extremely important to obey Apple's constraints regarding the icons: they must be

"monochromatic images that are drawn just using black and transparency"

To my surprise, when a designer gave me pngs that complied with the mentioned above, everything worked like a charm.

Please comment if you encounter any other difficulty, as the documentation is very lacking.

0
On

The documentation mentions several exceptions where your app icon will not replace the folder's icon:

The sidebar icons you provide will replace the default folder icons in the Finder’s sidebar for any of the root folders that your extension is monitoring.

This icon does not replace the icon for any folders contained by your monitored folder.

It also does not replace the icon for any system folders that you may be monitoring (for example, Documents, Desktop, Applications, and Downloads).

https://developer.apple.com/library/archive/documentation/General/Conceptual/ExtensibilityPG/Finder.html