15

I'd like to start a new line paragraph on a label and on a TextView but I can't find a way to do it via Interface Builder. Can you help me please? Thanks in advance

Nicholas Sainsbury
  • 207
  • 1
  • 3
  • 9
  • Can you be a little more specific? I assume you don't mean you just need a literal hyphen symbol '-' in the label and in the text view. – Luke Jun 10 '11 at 15:18
  • sorry, I just did a wrong "Italian to English" translation :) Title and content corrected – Nicholas Sainsbury Jun 10 '11 at 15:37
  • 1
    I don't think you can add a new line on a label but for a text view, it is `option + enter`. [`Source`](http://stackoverflow.com/questions/860940/how-to-get-uitextview-to-respect-newlines-in-interface-builder) – Deepak Danduprolu Jun 10 '11 at 15:54

1 Answers1

24

Two steps :

  • In Interface Builder you have to set the "number of lines" option to 0
  • Use Cmd+Return (or Alt-Return) to make a carriage return
Pierre Espenan
  • 3,996
  • 5
  • 33
  • 51