0

I am using UILabel into one of my application and its having multiple lines into it. Now I have to put some more space between two lines in UILabel. I tried to search out the solution, but not able to find it. How can I put more spacing between two lines?

Louis Barranqueiro
  • 10,058
  • 6
  • 42
  • 52
Nirmalsinh Rathod
  • 5,079
  • 4
  • 26
  • 56

3 Answers3

3

In the UILabel's Attribute Inspector, change the text from Plain to Attribute, then change number of lines and line spacing, its not the UILabel thing but the string itself

enter image description here

Tj3n
  • 9,837
  • 2
  • 24
  • 35
1

You can set it in the UILabel's Attribute Inspector.

Change Text type from Plain to Attribute, then change number of lines and line spacing.

Hope it will help.

Rohan
  • 2,939
  • 5
  • 36
  • 65
0
  • You may find useful link for spacing between two lines in UILabel.
  • There are also third party libraries to do so.
  • You can also add spacing directly in your fonts. To get more info,check this SO Post
Community
  • 1
  • 1
Rahul Patel
  • 5,858
  • 6
  • 46
  • 72