I have a UITextView inside a UIViewController that uses an automatic layout to snap it to 0 on all sides (so that it fills the entire screen). I am also viewing this view using the UINavigationController .
I got confused by a strange error, where if the UITextView has enough text to run from the screen, then the content is set under the UINavigationBar . If there is not enough text to fill the screen, the text layout does not fall under the UINavigationBar .
Here's what happens when there is enough text that it disconnects from the screen, and you need to scroll it to see everything.

I tried:
Configuring the insertion of UITextView content.
Make sure the UINavigationBar not translucent.
Tried setting self.automaticallyAdjustsScrollViewInsets = NO;
source share