(after the Window item) where the Help menu would've appearedīuilder.insertSibling(myHelpMenu, afterMenu.
insert the *Help* menu at the end of the existing menu bar items Title: 'Help ', // note the space after 'Help'Ĭhildren: ) // add the *Support* item to the menu create a custom menu to appear as *Help* menu on menu bar create the Support help item gave it a shortcut key of 's' (Command-S) (void)buildMenuWithBuilder:(id)builder Once that was running, it took a few tries to do something useful with it.Īttempt 1: I tried removing the first element of the Help menu, which was the search field. I had to change my AppDelegate class to be a subclass of UIResponder instead of NSObject and then I could override that method in my AppDelegate. Point the custom Support menu item to a web page.
Then I started messing with the buildMenuWithBuilder method. Inspired by arlomedia's answer, and using Swift 5.x, Xcode 11.x, I created an extension to appDelegate that works in Mac Catalyst and does both things the OP wanted: Create a custom Help menu without the Search item and with a Support item.
I looked for a plist key to disable it, but didn't find anything. The answers from and aren't supported on Mac Catalyst apps, so here's an option for that.Īccording to this answer, the search field is added by macOS.