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 protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
