PSPDFTextView 1.2.0

PSPDFTextView 1.2.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Unclaimed.


Downloads

Total213,931
Week0
Month0

Installs

Apps508
Pod Tries2
Test Targets77
powered by Segment

GitHub

Stars895
Watchers33
Forks75
Issues9
Contributors7
Pull Requests1

Code

Files2
LOCLines of Code 154



  • By
  • Peter Steinberger, PSPDFKit GmbH

A subclass of UITextView that fixes the most glaring problems from iOS 7 and 7.1.

What's fixed?

  • When adding a newline, UITextView will now properly scroll down. Previously, you needed to add at least one character for this to happen.
  • Scrolling to the caret position now considers contentInset. UITextView completely ignored this.
  • Typing will also consider contentInset and will update the scroll position accordingly.
  • Pasted text will scroll to the caret position.

UITextView:

UITextView

PSPDFTextView:

PSPDFTextView

Read more in my blog post: http://petersteinberger.com/blog/2014/fixing-uitextview-on-ios-7/

License

Taken from the commercial PSPDFKit - a framework for displaying and annotating PDFs in your iOS apps. This class has been relicensed under the MIT license.