A text view is a scroll view. View controllers will add a content offset automatically to scroll views, as it is assumed they will want to scroll up behind the nav bar and status bar.
To prevent this, set the following property on the view controller containing the text view:
self.automaticallyAdjustsScrollViewInsets = NO
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…