I've got UITextField widget inside a xib view controller with Scrolls layout, and I wish to set it with a proper string during runtime.
However, the string length may exceed the containing view controller and I'd like to define some constraint/limitation that when text exceeding about 80% of the containing view controller length, that the rest of the text will be written in newline (and if the rest will reach this limit, continue with the newline).
Here's the xib layout :



