there is no equivalent to a “KEYDOWN” event for Textfield or TextArea???
how do you filter keystrokes? or detect when [RETURN] is tapped?

Have to use TextChanged and track what has already been input.

ok… I’m trying really hard to move forward with “Xojo for iOS”, but too many band-aids keep popping up.

Seriously… Keydown can be derived from [func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String)] … and RETURN with [textFieldShouldReturn(_ textField: UITextField)]

I am struggling with why Xojo opted to leave out so much

1 Like