Ashutosh
Ashutosh

Reputation: 5742

How to customize the UIKeyboard in my app?

I want to change the Return button to Go button. Any suggestions??

Thanks,

Upvotes: 2

Views: 615

Answers (2)

Gypsa
Gypsa

Reputation: 11314

 *yourtextfieldname*.returnKeyType=UIReturnKeyGo;

Upvotes: 3

Noah Witherspoon
Noah Witherspoon

Reputation: 57149

UITextField and UITextView both follow the UITextInputTraits protocol, which defines a returnKeyType property. Set that to UIReturnKeyGo and you're good to, er, go.

Upvotes: 2

Related Questions