I have placed multiple UITextFields
into an UIViewController
in the storyboard.
I am using IQKeyboardManager to scroll the UITextFields
over the keyboard when they are focused.
When I click the next button in the keyboard toolbar, another UITextField
is getting focused while the current one loses focus.
How can I control the order of the focus of the UITextField
s by the keyboard toolbar buttons?
After hours of research, I found that the focusing order of UITextField
s depends on the order of the XML nodes in the storyboard file.
As a result I changed this order and everything works fine as I wanted.