- create a sample XCode project using Objective-C and stroybook (xib) using latest XCode beta
- open MainMenu.xib, and select Main Menu → File → Print...
- remove the image like below
4. build it
5. run it on macOS 26 beta 7
6. The menu item "print.." still have "Image"
Is there any way to remove image for one menu item.
I have also tried NSMenuItem.image = nil
, but still not work.
The issue I met on my own app is that I cannot remove icons for "Zoom In", "Zoom Out" and many other menu items, which makes the menu items not aligned properly.