Retaining current text when editing a text field

Discussion in 'iOS Programming' started by John Baughman, Oct 19, 2009.

  1. macrumors member

    Joined:
    Oct 27, 2003
    #1
    If a UITextField has content and the user taps into the field or the field is put into editing when the view appears, how do you retain the content?

    For me the content is clearing and there is no way to get out of editing without retyping the content if you inadvertently tapped into the field.

    Thanks,

    John
     
  2. macrumors regular

    Joined:
    Mar 30, 2008
    Location:
    Uppsala, Sweden
  3. thread starter macrumors member

    Joined:
    Oct 27, 2003
    #3
    Thanks!

    John
     

Share This Page