Samuli Lehtonen Samuli Lehtonen - 1 year ago 73
iOS Question

iOS multiline label in Interface builder

How can I make a multiline

in interface builder for iOS? I tried the
but it didn't quite suit my needs.


You have to assign numberOfLines property. You can do it via code:

textLabel.numberOfLines = 5; // for example

Or via Interface Builder: enter image description here