0

I am assigning lines to 0 to make the lines count automatic with UILabel in a tablecellview

enter image description here

and I also want to increase the line height so it could look nicely

and I found this solution

enter image description here

But it did not take effect and the result kept the same (no additional line height gained) enter image description here

armnotstrong
  • 8,605
  • 16
  • 65
  • 130
  • Do you need cell height based on label text content length? –  Feb 07 '18 at 12:13
  • Try to set this attribute [programatically](https://stackoverflow.com/questions/5494498/how-to-control-the-line-spacing-in-uilabel/44325650#44325650) – Krunal Feb 07 '18 at 12:24
  • @Krunal - but your comments is related to spacing – Anbu.Karthik Feb 07 '18 at 12:35
  • @Anbu.karthik Yea, exactly, that is shown here in second snapshot. line 'Height Multple' is set to 2, from storyboard layout, but the same is not effective. I just suggested to use code from there and try setting it programtically. May it would work... – Krunal Feb 07 '18 at 12:39

0 Answers0