I am using a UITextView in Interface Builder and have typed a hunk of text into it and there are lots of lines breaks in it, blank lines. I did this by typing into it and alt-returning to get a new line.
However when built and run on my device none of these line breaks are seen. Any tips? Anyone heard of this?
Thanks.
This works for me:
In the header file:
In the implementation file:
Don’t forget to link the
UITextViewwith the element in the Interface Builder.