UITextView 内容太多时,无法滚动到顶部的问题。

2017-09-22  本文已影响8人  阿斯顿卡卡

需要设置

UITextView 未显示时设置

_ui_textView.scrollEnabled =NO;

_ui_textView.layoutManager.allowsNonContiguousLayout =NO;

已经显示后设置

_ui_textView.scrollEnabled =YES;

上一篇 下一篇

猜你喜欢

热点阅读