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


source to share





All Articles