lundi 20 avril 2015

NSApplicationPresentationHideMenuBar flag doesn't hide menu bar

I have next code in m project:

...
[NSApp setPresentationOptions:[NSApp presentationOptions] |
                               NSApplicationPresentationHideMenuBar |
                               NSApplicationPresentationHideDock];
...

Dock panel has been hidden, but menu bar has not been hidden. Why? OSX 10.10.3

Aucun commentaire:

Enregistrer un commentaire