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?
Set IQAutoToolbarManageBehaviour
In your case could be
IQKeyboardManager.sharedManager().toolbarManageBehaviour = .byTag
Then add tag to your TextFields
textField1.tag = 1
textField2.tag = 2
textField3.tag = 3
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With