b_d
b_d

Reputation: 787

How to add my program to the OS X system menu bar?

I have created a volume controller for iTunes but I would like this app to place an icon on the OS X system menu bar and have my slider controller drop down.

Upvotes: 5

Views: 759

Answers (1)

Rob Keniger
Rob Keniger

Reputation: 46020

You need to create an NSStatusItem in your app. Have a look at the Status Bars documentation.

You would normally create a faceless background app by setting the LSUIElement key in your Info.plist file to YES and have the app create the status item on launch.

Upvotes: 7

Related Questions