I am printing debug text to my applications text view with
- (void) updateDebugWindow:(NSString *)text {
[dbgText setText:[NSString stringWithFormat:@"%@%@\r\n",dbgText.text,text]];
}
As you can see, the next line will append to the previous so that I can see what happened in the previous step. This works fine
[self updateDebugWindow:@"Debug info"];
but when it reaches bottom it does not automatically scroll down to show the next line of text, I have to manually scroll it with my finger.
Is there some option in xcode which let the text view automatically follow the text?