I am trying to make a button on my custom keyboard perform the default system action as if I had pressed return on a hardware keyboard. How do I do that please.?
This is not simulating a specific keypress, such as a new line. I want the default system action for whatever app I am using to take place. iMessage, pressing return would send the message.