1

Can anybody suggest me how to change label/text/font of "Return" in keyboard as "Submit" ? Thanks in advance.

Abha
  • 1,032
  • 1
  • 13
  • 36
  • See this: http://stackoverflow.com/questions/976950/change-text-of-return-keyboard-button Hope this helps you. – Vishal Dec 12 '12 at 05:36
  • What is the "font" part of the question? It sounds like you just want to change the label (to a value that isn't supported). I think you mean to ask "how to change the label of the Return key to Submit". – rmaddy Dec 12 '12 at 05:42
  • @Angel That's better. There is no way to change the Return key to Submit. See the docs for `UIReturnKeyType` for the possible values. `Send` is probably the closest. – rmaddy Dec 12 '12 at 05:46

2 Answers2

1

You can change "Return" into only one of these predefined labels with the returnKeyType property:

  • Return (default)
  • Go
  • Google
  • Join
  • Next
  • Route
  • Search
  • Send
  • Yahoo
  • Done
  • Emergency Call
  • But there is No way to change the FONT of the Text

    I took this answer from https://stackoverflow.com/a/977012/64976, by macbirdie

    Community
    • 1
    • 1
    Shashank Kulshrestha
    • 1,556
    • 17
    • 31
    • It's very bad form to copy the text of an answer already referenced in a comment here and post it as your own answer. And the reference to *font* was removed before you posted. – rmaddy Dec 12 '12 at 05:49
    • But You didn't Posted it as Answer... – Shashank Kulshrestha Dec 12 '12 at 05:51
    • 1
      Because I don't take credit for other people's answers. You are taking credit for someone else's answer to another question. – rmaddy Dec 12 '12 at 05:52
    -1

    you will find return key property in attribute inspector in xib if you have taken textfied or textview in xib,where you can set "Submit" in place of "Return".

    NiravPatel
    • 3,260
    • 2
    • 21
    • 31