textView.layoutManager.allowsNonContiguousLayout = NO; 转载于:https://www.cnblogs.com/spiderdzl/p/6126654.html