Reputation: 835
Really quick, easy question.How do I add text to a UITextView, when it's already populated.
E.G., but doesn't work: _textView.text=+@"";
Thanks, SebOH
Upvotes: 0
Views: 65
Reputation: 819
_textView.text = [NSString stringWithFormat:@"%@%@",_textView.text,@"text you want to append"];
using above you can add the text where ever you want prefix,postfix ..
Upvotes: 1
Reputation: 3751
_textView.text = [_textView.text stringByAppendingString:@"Additional Text"];
Upvotes: 1