Toolbar with “Previous” and “Next” for Keyboard inputAccessoryView

后端 未结 7 1746
面向向阳花
面向向阳花 2020-12-02 20:53

I\'ve been trying to implement this toolbar, where only the \'Next\' button is enabled when the top textField is the firstResponder and only the \'Previous\' button is enabl

7条回答
  •  爱一瞬间的悲伤
    2020-12-02 21:37

    My suggestion here is "don't reinvent the wheel".

    Having Prev and Next button over a keyboard for switching between UITextViews is so common that you can find many good implementations ready to use.

    Check out BSKeyboardControl, for instance.

提交回复
热议问题