Samuli Lehtonen Samuli Lehtonen - 1 year ago 143
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.

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download