IOS: getting keys like cmd-B from a physical keyboard in an iPad app

There are applications that can do this. For example, Quick Office can interpret Cmd+ Bfrom a physical keyboard to bold text in a document.

What APIs in the iOS SDK will allow me to get keyboard input, for example? Doesn't seem to UIResponderhave any keyboard related methods?

+3
source share
1 answer

First you will need to determine how to track the selection in bold. cmd + b will not work because there is no CMD on the iOS keyboard.

keyboard image

textFieldTextDidChange , , BOLD, , , .

0

All Articles