UIReturnKeySave?

Discussion in 'iOS Programming' started by Darkroom, Aug 22, 2009.

  1. Darkroom Guest

    Darkroom

    Joined:
    Dec 15, 2006
    Location:
    Montréal, Canada
    #1
    so according to the docs, i can have a keyboard return key display "Route", "Go" or "Yahoo!", but there isn't be "Save"? in my opinion, "Save" is more of an ideal return key option than "Go" or "Route".

    is there anyway to customize the UIReturnKeyType with my own string.
     
  2. PhoneyDeveloper macrumors 68030

    PhoneyDeveloper

    Joined:
    Sep 2, 2008
    #2
    There's no built-in way to set the return key label to arbitrary text. You can choose from the values in the UIReturnKeyType enum. You might want to choose Done and then have your own Save button in the view or have Done implicitly mean Save.
     
  3. Darkroom thread starter Guest

    Darkroom

    Joined:
    Dec 15, 2006
    Location:
    Montréal, Canada
    #3
    hopefully one day apple will make this easier, or at least include more commonly used button types... i mean, we have "Route" and "Go" but no "Save" or "Login"? really, apple? in the meantime, i've found this very helpful blog concerning this very issue.
     

    Attached Files:

Share This Page