2012-01-11 40 views

回答

0

分隔每個行上使用換行字符,這是

@"\\n" 
可可

。注意雙反斜線

[email protected]"updated My interests \\n updated Basics \\n registration updated My partner should be..." 

如果你有太多的逗號來代替,這樣做

NSString *stringSeparatedByNewLine = [stringWithCommas stringByReplacingOccurrencesOfString:@"," withString:@"\\n"]; 

textViewObj.text=stringSeparatedByNewLine;