0

Is there any way to make the UITextField (horizontally) scrollable?

Thanks, Mihai

Mihai Fonoage
  • 478
  • 2
  • 8
  • 23

1 Answers1

0

Do you mean a multi-line UITextField? If that is the case you need UITextView. By default it is multi-lines.

Mihir Mathuria
  • 6,479
  • 1
  • 22
  • 15
  • Not necessarily multi-line, as one single line that scrolls horizontally. Thanks. – Mihai Fonoage Feb 04 '10 at 20:06
  • Why would that be required? To display the white space beneath the text? – Mihir Mathuria Feb 04 '10 at 20:33
  • No, I just have a text that is not small enough to fit in a text field. Since all other text fields are one line, I wanted to have the same. I will end up using text views instead of text fields everywhere on that particular screen, so to keep the uniformity intact. The problem with text views is that they do not have rounded edges like text fields do. I will end up setting the opacity to 0 to only display the text. – Mihai Fonoage Feb 04 '10 at 20:40