Post

Replies

Boosts

Views

Activity

SwiftUI TextEdit iPad external keyboard "Return" key
I can intercept the "Return" button and "Shift+Return" on an iPad's external Bluetooth keyboard with the TextField "onKeyPress" method. But - this always dismisses the keyboard. It looks like the TextField loses focus. This happens whether I return ".handled" or ".ignored". How can I maintain focus on the TextField and not have the keyboard dismissed?
3
0
377
Jul ’24