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.
- Text Component With Integrated Regex And String Based Search And Highlighting
- Custom Behavior On Return For A UITextView
- Component For Creating Text Fields and Text Views With Slick Animated Floating Descriptions
- Open Source: Drop In Solution To Move UITextField Or UITextView When Using Keyboard
- Open Source: Rich Text-Editing View Using Core Text
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.