2

I want to set vertical linespacing between two lines in UITextView.

I searched a lot for the same but couldn't find any API or a way to go about it.

Although UIFont has ledding and lineHeight properties but they are readonly and hence doesn't solve the purpose.

Please let me know how to solve this problem

Rajat
  • 314
  • 4
  • 15
  • As a curiosity for readers: "Ledding" refers to the "ledd" (ie, the metallic substance, atomic number 82) which was used in early typesetting. It is pronounced "Led" as in Led Zeppelin, rather than "Leeed". The older spelling "Led" (indeed exactly as in "led" zeppelin, which has the same meaning) is better and becoming more popular. It is very unfortunate when people pronounce it "leed" ... it's ledding (as in the metal). – Fattie Apr 19 '11 at 11:50
  • 3
    It is however spelled "Leading" after the metal "Lead" ;-) – Roger Apr 19 '11 at 12:31
  • This is not ledding but its leading [Refer this](http://en.wikipedia.org/wiki/Leading) – Rajat Apr 19 '11 at 12:33
  • Spelled "leading" after the metal "lead," and pronounced "ledding" like the metal "lead." – Matthew Frederick Apr 19 '11 at 12:44
  • Lol Hi Roger .. I encourage you to ask some typesetters! (Or I suppose, Jimmy Page ;-) ) – Fattie Apr 20 '11 at 06:40

1 Answers1

0

Have a look at "Set line height in UITextView", it seems the only solution is to create a custom font.

Community
  • 1
  • 1
Nick Weaver
  • 47,228
  • 12
  • 98
  • 108
  • I checked that but as mentioned in the comments by **Max Seelemann** on that page this view is not editable and hence doesn't solve my problem too. – Rajat Apr 19 '11 at 12:40