I’m struggling with line break in UILabel.
I’m generating xml in vb.net and then parse it in iPhone application. xml contains text which initially contains html tags such as
, so I can and need to replace these tags with something to add a linebreak in iphone
How can I do it? I tried \n , \n\r, they a not working
Any help will be appreciated
Thank you
\n should work. Make sure you set
numberOfLinesto 0, andlineBreakModeto something that suits you.