Not registered yet?
Register now! It is easy and done in 1 minute and gives you access to special discounts and much more!
By Ilya Suzdalnitski
How can I change the standard text of the "Return" button to something else?
I want it to be "Add".
iOS 9 now supports Send button. This is the following swift code
self.liveChatMessage.returnKeyType = .Send
[self.liveChatMessage setReturnKeyType: UIReturnKeyTypeSend];
Unfortunately, you can change "Return" into only one of these predefined labels with the returnKeyType property:
So maybe you should choose "Next" if a data entry kind of activity is what you're after.
More information here.
From now on I'm using Yahoo as the default action button text in my iOS apps.
@Michael Bing! would be cool as well
That's weird nobody thinks about "Save" label.
iOS 9 supports UIReturnKeyType Send
It's supported since iOS 2.0, actually.
Isn't it kind of ridiculous that these options have not changed in 2018? I wanted to set my return label to "Ask". Oh well I guess Send will have to suffice.
You can never go wrong with Yahoo.
You can use this simple way:
[textField setReturnKeyType:UIReturnKeyNext]; or [textField setReturnKeyType:UIReturnKeyGo]; instead of "Add" button.
[textField setReturnKeyType:UIReturnKeyNext]; or [textField setReturnKeyType:UIReturnKeyGo];
Other, you create a programmatically keyboard with buttons which you want.