I am new here, so hello !
I would like to know, how can i programmatically scroll the UITextView to the bottom.
I have a function, which adds a new line to that TextView and when there are more than few lines, the user has to scroll the TextView manually to see new those lines.
When i click the TextView few times and then call that function, it automatically scrolls down. I don't know it's a bug or not, but i'd like it to happen all the time.
I've tried with this:
Quote:
|
[myTextView scrollRangeToVisible:range];
|
But it didn't work or just crashed (OS 3.1.3).
I hope you guys will help me.
Thanks.