0

Ctrl当用户单击+ A(全选)时,如何实现修改后的行为。我尝试修改keyDown:事件,但似乎没有捕捉到事件。

4

1 回答 1

3

⌘</kbd>+A is generally mapped to selectAll: on the first responder. You should be able to simply implement the selectAll: method on any responder in the chain and it'll "just work".

于 2012-04-18T20:58:50.700 回答