_textView.layoutManager.allowsNonContiguousLayout = NO;
self.automaticallyAdjustsScrollViewInsets = NO;
_textView.layoutManager.allowsNonContiguousLayout = NO;
self.automaticallyAdjustsScrollViewInsets = NO;
转载于:https://www.cnblogs.com/marysneaker/p/5818452.html