How to detect key presses

Hi,


is there any way to detect if a key was pressed in SwiftUI on iOS?


.onCommand does only exist for macOS


and I even tried subclassing UIHostingController to redefine the keyCommands-property but even that did not work.


Any way to handly keyboard input in SwiftUI appart from TextField?