iOS 7.1 UITextView still not scrolling to cursor/caret after new line

后端 未结 5 843
悲&欢浪女
悲&欢浪女 2020-12-04 22:25

Since iOS 7, a UITextView does not scroll automatically to the cursor as the user types text that flows to a new line. This issue is well documented on SO and e

5条回答
  •  伪装坚强ぢ
    2020-12-04 23:01

    Some one have made a subclass that solves all scrolling0related issues in UITextView. The implementation couldn't be easier - switch UITextView with the subclass PSPDFTextView.

    A post about it, showing what is fixed (With nice Gif animations) is here: Fixing UITextView on iOS 7

    The git is here: PSPDFTextView

提交回复
热议问题