UITextView iOS8 - scroll up

When I enter new text into my UITextView, it automatically scrolls to the top - not sure what they changed in the new iOS system.


source to share

1 answer

I faced the same problem, I solved it by writing the following line in textViewDidChange:

[textView scrollRangeToVisible:[textView selectedRange]];


This might help too.



All Articles