• 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
Re: Can't hide Menu bar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't hide Menu bar


  • Subject: Re: Can't hide Menu bar
  • From: Eric Schlegel <email@hidden>
  • Date: Tue, 14 Jun 2011 09:42:20 -0700

On Jun 14, 2011, at 8:11 AM, Siegfried wrote:

> 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?

There isn't really a good way to hide the menubar in that case; the presentation mode is only supported for normal apps that aren't UIElement or BackgroundOnly.

-eric

_______________________________________________

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: Siegfried <email@hidden>
References: 
 >Can't hide Menu bar (From: Siegfried <email@hidden>)

  • Prev by Date: Can't hide Menu bar
  • Next by Date: Re: Adding NSButton in NSMenuItem
  • Previous by thread: Can't hide Menu bar
  • Next by thread: Re: Can't hide Menu bar
  • Index(es):
    • Date
    • Thread