iphone SDK: how to add a new line char to my uitextview programmatically?
Please h开发者_如何学Celp me adding a line break (\r\n) programatically to my UITextView
.
If you get the text from the text view, create a mutable version of the text, then add just \n, the set the text view's text, it'll work. Don't put a carriage return and a linefeed both.
精彩评论