![[img]](proxy.php?image=http%3a%2f%2fwww.grabup.com%2fuploads%2f22c8acc8ae41c0fa46c28e4350b669fb.png&hash=9c2960e88b565937ab31e0fb8d49b68f)
how start this? need create bundle? have searched nsmenu's in menu bar , nothing has came own.
in right direction nice!
if mean status bar icon must add:
code:
<key>lsuielement</key> <true/>
to info.plist file make "dockless", add status item programmatically:
code:
statusitem = [[nsstatusbar systemstatusbar] statusitemwithlength:30]; [statusitem settarget:self]; [statusitem setaction:@selector(showmenu)]; [statusitem sethighlightmode:yes]; [self setstatusitem:statusitem withvalue:@"menutitle" andimage:nil]; [statusitem retain];
hope helps,
manty
Forums Macs Mac Programming
- iPhone
- Mac OS & System Software
- iPad
- Apple Watch
- Notebooks
- iTunes
- Apple ID
- iCloud
- Desktop Computers
- Apple Music
- Professional Applications
- iPod
- iWork
- Apple TV
- iLife
- Wireless
Comments
Post a Comment