1

I am trying to interfere with the external hardware keyboard's inputs on an iOS system.

Everything works well except for one problem: After attempt to register CTRL + ENTER with code

UIKeyCommand(input: "\r", modifierFlags: [.control], action:...)

press the combination won't trigger the action, which means it seems not to register itself. However, "\r" + [.command] and "\r" + [.alternate] work well.

What's wrong with it? How can I register CTRL + ENTER from the external keyboard?

Mwiza
  • 7,780
  • 3
  • 46
  • 42
Terry
  • 337
  • 2
  • 9

0 Answers0