3

all:

I have added one NSStatusItem in the status bar for my test app, and it works well in Mac ox 10.12, not only normal model, but also full screen model. When i switch to Mac os 10.13, it is failed to show the menu in the full screen model.

self.statusItem = [[NSStatusBar systemStatusBar] statusItemWithLength:NSVariableStatusItemLength];
        self.statusItem.highlightMode = YES;
        self.statusItem.menu = self.dummyMenu;
        [self.statusItem.menu setDelegate:self];
        self.statusItem.image = image;

does anyone has any idea? The pop up menu, in full screen model, it will not show

4

1 に答える 1