As mentioned in other answers, this is the inputAccessoryView you are looking for.
I would like to add an alternative path here using these cocoapods:
pod ' UITextField-Navigation '
All UITextField will have two additional properties: nextTextField and previousTextField . Then you can simply connect nextTextField in the interface builder, and the Previous, Next, and Finish buttons will be added automatically for you, all functional, no more code required, no subclass.
You can also customize the user interface, add other buttons, etc., as you want.

Thanh Pham Jun 28 '16 at 3:31 2016-06-28 03:31
source share