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?
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.