Manish D Manish D - 5 months ago 49
Objective-C Question

Like, Tray icon and Dock Icon is there anything like desktop icon in MAC OS X?

I've created an application and want its icon to be displayed on my desktop mind it i don't want a shortcut. It should be an icon as it is on tray and dock, like when i click it application should launch. AND ALL THIS I WANT IT PROGRAMMATICALLY.

Plz help i'm a newbie,
Thanks in advance.

Answer Source

There is nothing as desktop icon,
instead create hardlink via NSFileManager's function.

[[NSFileManager defaultManager] linkItemAtPath:<application path>

This won't show that shortcut arrow also like it shows in soft link.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download