标签: objective-c cocoa
如何清除NSButton的keyEquivalent?
我试过了:
[theButton setKeyEquivalent:nil];
但它似乎不正确! 感谢
答案 0 :(得分:1)
您正在寻找的命令是:
[theButton setKeyEquivalent:@""];