问题 I want to set key equivalent " "(space) without any modifiers for NSMenuItem (in App Main Menu). As follows from documentation: For example, in an application that plays media, the Play command may be mapped to just “ ” (space), without the command key. You can do this with the following code: [menuItem setKeyEquivalent:@" "]; [menuItem setKeyEquivalentModifierMask:0]; Key Equivalent sets successfully, but it don't work. When I press "Space" key without modifiers nothing happens, but it's