This repository was archived by the owner on Nov 17, 2025. It is now read-only.

Description
First and foremost, thanks for making this library available, it fixes something I'd been working on for a while. Unfortunately, an issue I discovered actually has higher impact than the issue PSPDFTextView solved for me.
I have a textView with autolayout constraints, one of which being it's height, whose constant I modify so it will grow with user input to accommodate several lines of visible text before it starts scrolling. It worked almost perfectly with a UITextView except when newlines were entered. Now, whenever the text wraps to the next line, all the text is scrolled out of the visible CGRect. Perhaps modifying the autolayout height constant is throwing things off, I'm not sure, but other than that I don't manually scrollToRect or anything like that. I uploaded a video comparison so you can kind of watch it in action: http://www.youtube.com/watch?v=wv71vjhda2A&feature=youtu.be. The left shows a PSPDFTextView and the right a UITextView with the same use case applied.