Simple next and previous actions on keyboard for both UITextField/UITextView.
RAkeyboardToolbar will help you to add accessary toolbar on all UITextFields and UITextViews you want.
Create RAkeyboardAccessoryToolbar class object.
var keyboardAccessory = RAkeyboardAccessoryToolbar()
Add all the textfield in array.
keyboardAccessory.textFieldArray = [firstNameTextField, lastnameTextField, emailTextField,phoneTextField]
Set textfield as current view in textFieldDidBeginEditing.
// MARK: - Textfield Delegates
func textFieldDidBeginEditing(textField: UITextField!) {
textField.inputAccessoryView = keyboardAccessory
keyboardAccessory.currentView = textField
}