Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何清除 NSButton 的 keyEquivalent ?
我试过了:
[theButton setKeyEquivalent:nil];
但这似乎不正确!谢谢
您正在寻找的命令是:
[theButton setKeyEquivalent:@""];