Large Text Being Cut Off in UITextView That is Inside UIScrollView

This issue has existed since iOS 7 and is still present in iOS 12.

However, I wasn’t able to keep the normal scrolling behaviour by setting scrollEnabled = NO before the resize, as @igz recommended. Instead I switched scrolling on and off after the resize

// Resize text view here

textView.scrollEnabled = NO;
textView.scrollEnabled = YES;

This forced the cut off text to render correctly.

Leave a Comment