以下のコードでテキストフィールドに入力するキーユーザを認識します。しかし、 'Caps lock' - 'shift' - 'control' - 'command' - 'オプション ' - 'タブ 'どのように私はそれらを認識できますか?テキストフィールドに入力するキーユーザを認識
- (void)keyUp:(NSEvent *)theEvent
{
unichar keyChar = 0;
keyChar = [theArrow characterAtIndex:0];
NSString *aci=[NSString stringWithFormat:@"%d",keyChar];
}
可能性があります。http://stackoverflow.com/questions/5837041/how-to-get-the-caps-lock-pressed-shift-key-key-state-programmatically-on-ios-s – rishi