Check out example codes for "swift set keyboard next functionality". It will help you in understanding the concepts better.

Code Example 1

tf1.addTarget(tf2, action: #selector(becomeFirstResponder), for: .editingDidEndOnExit)
tf2.addTarget(tf3, action: #selector(becomeFirstResponder), for: .editingDidEndOnExit)

Learn ReactJs, React Native from akashmittal.com