开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜