Get Updates By E-mail 

Article Written By:
Johann Dowa

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.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments