Change text of "Return" keyboard button
Unfortunately, you can change "Return" into only one of these predefined labels with the returnKeyType
property:
- Return (default)
- Go
- Join
- Next
- Route
- Search
- Send
- Yahoo
- Done
- Emergency Call
- Continue (as of iOS 9)
So maybe you should choose "Next" if a data entry kind of activity is what you're after.
More information here.
You can use this simple way:[textField setReturnKeyType:UIReturnKeyNext]; or [textField setReturnKeyType:UIReturnKeyGo];
instead of "Add" button.
Other, you create a programmatically keyboard with buttons which you want.
iOS 9 now supports Send button. This is the following swift code
self.liveChatMessage.returnKeyType = .Send
Objective C:
[self.liveChatMessage setReturnKeyType: UIReturnKeyTypeSend];