Send multiple characters with keyboard (iOS)

Currently when the keyboard is open I need to send one character at the time
genMeth.sendId(genMeth, “//UIAApplication[1]/UIAWindow[5]/UIAKeyboard[1]”, “N”);

Is there a better approach for sending many characters to a keyboard instead of one at a time?

are you sending some text to some input field? in such case you may use super fast:

some_el.setValue("some_value")