views:

538

answers:

1

Please help me adding a line break (\r\n) programmatically to my uitextview

+1  A: 

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.

lucius
Amazing, new line created. Thanks a lot for your kindness Lucius. You are helping me the second time today itself. :)
Futur