An Open Source Component Extending UITextView Solving Many iOS 7 Text View Issues

There are a number of annoying issues that have surfaced in iOS 7 with UITextView. Some of the most glaring issues being the cursor being hidden when the user reaches the bottom of the text view, and not scrolling to the correct position when a location is focused.

Peter Steinberger has released an enhanced UITextView that aims to fix most of the ioS 7 text view issues called PSPDFTextView.

As the readme states – here’s what’s fixed with PSPDFTextView:

– 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

You can find download the PSPDFTextView source code on Github here.

You can read more about the issues fixed by PSPDFTextView over on Peter’s blog.

A nice solution for many of the UITextView issues in iOS 7.

FacebookTwitterDiggStumbleUponGoogle Plus

Original article: An Open Source Component Extending UITextView Solving Many iOS 7 Text View Issues

©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *