I am putting together a list/detail pair of scenes to handle “list things” in one scene and “detail/edit one thing” in the other scene. I have the two scenes transitioning back and forth based on tapping a row and tapping a “done” button.
In the detail/edit scene, I would like to make the “enter” key on the keyboard shift the focus to the next field down the screen. For example, if the first textField is “name” and the second textField is “phone,” when the user is typing in the name and hits “enter,” the focus should jump to “phone.” (This is the same functionality as in the iOS “contacts” page of the phone app.)
Does the “return” key cause the event phase to go to “ended” or “submitted”?
Can I then use that to notice the phase change and shift focus to another textField?
Would this require a separate listener for each textField?