How to display multiple lines of text in UILabel Using Swift?

After creating UILabel programatically or through IB, add the following code in viewDidLoad method.

<Label Name>.numberOfLines = 0

 

 

Leave a Reply