• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Can't hide Menu bar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can't hide Menu bar


  • Subject: Can't hide Menu bar
  • From: Siegfried <email@hidden>
  • Date: Tue, 14 Jun 2011 12:11:33 -0300

I'm developing a menubar-only application which needs to display an overlay in the screen at a certain moment. Everything was working properly, until I set LSUIElement to true.

I have a custom view that enters in full screen with `enterFullScreenMode:withOptions:`. The dictionary passed includes a NSApplicationPresentationHideMenuBar, and indeed it works but only when LSUIElement is false. When true, I can't find a way to hide the menu bar.

I know it's kind of strange behavior to have a menu app to enter fullscreen, but… I even found a similar thread in the list, however it was years ago, when `enterFullScreenMode:withOption:` didn't even exist.

Any clues on how can I force the menu bar to hide?

Thanks!

Siegfried

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Can't hide Menu bar
      • From: Eric Schlegel <email@hidden>
  • Prev by Date: Adding NSButton in NSMenuItem
  • Next by Date: Re: Can't hide Menu bar
  • Previous by thread: Re: Adding NSButton in NSMenuItem
  • Next by thread: Re: Can't hide Menu bar
  • Index(es):
    • Date
    • Thread