UITextField or UITextView ?

Discussion in 'Mac Programming' started by sujithkrishnan, May 26, 2008.

  1. sujithkrishnan macrumors 6502

    Joined:
    May 9, 2008
    Location:
    Bangalore
    #1
    Hi all,

    In my iPhone Application, i want a address field.. which is obviously a multi-line field.
    But i didn't find any property in UITextField to set it as multi-line.
    I know that i will get multi-line by making use of UITextView, But the textView is appearing with no border.
    So i want either a textField with multiline option or a textView with borderStyle.

    Please help ASAP...

    Thanks...
     
  2. qazqazqaz macrumors newbie

    Joined:
    Sep 6, 2008
    #2
    I am looking for a solution to this.

    Any Luck ?

    So far the option seems to be to use a TextView and have a 'Done' button seperate from the Keyboard.

    A IUtextField is much better but how to set it to multiline is driving me nuts. I have read it can be done
    The functionality can be hacked together with TextView and a button to press to make the keyboard go away - but Textfield & multiline would be so much better - i suppose the theory is that people would want to use the 'return' key on a multiline textfield -> no done button ?
     

Share This Page