A subclass of UITextView
that fixes the most glaring problems from iOS 7 and 7.1.
What's fixed?
UITextView
will now properly scroll down. Previously, you needed to add at least one character for this to happen.contentInset
. UITextView
completely ignored this.contentInset
and will update the scroll position accordingly.UITextView:
PSPDFTextView:
Read more in my blog post: http://petersteinberger.com/blog/2014/fixing-uitextview-on-ios-7/
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.