Only the first line of text is displayed in UITextView

I have a UITextview. It has enough text that it flows over several lines. However, when I run the application on the device, the text does not flow to subsequent lines, it is as if the text is being executed out of view.

All settings for presentation are default, but user interaction is disabled. The view has constraints that bind it to the fields of the viewport. I colored the background of the view to check that the view does not stray off the edge of the viewport and is high enough for the 2nd and 3rd lines of text to fit into the view, but below the first line of text, the view is empty.

What's happening?

+3
ios interface-builder uitextview


source to share


No one has answered this question yet

Check out similar questions:

2123
Vertically align text to the top in a UILabel
705
Placeholder in UITextView
506
How can I customize a UITextView to its content?
463
How to lose margin / padding in UITextView?
433
Multiple lines of text in UILabel
6
UITextView changes height instead of scrolling
6
UITextView does not resize on iPad only
4
Scroll up page in iOS UITextView after text change
4
Disable UITextView Kerning
3
UITextview text not showing top lines after rotation in iOS7



All Articles
Loading...
X
Show
Funny
Dev
Pics