views:

613

answers:

2

Is it possible? Align the text fully justified? Does anyone know any hack or Interface Builder plugin?

Thanks!

A: 

From the definition of UITextAlignment it looks like you can't. Perhaps you can use the text drawing code to draw the text yourself, since you won't need interaction it shouldn't be too difficult.

Douglas
Humn... But the text is dinamic, I get them from an RSS... Any idea?
Amure Pinho
+2  A: 

You cannot do it using UITextView, or any others. When I need justified text, I construct an html and show it in a UIWebView.

EEE
Ok EEE, thanks a lot. I will try this but the problem is that Im extracting the data from an RSS feed and the extracted text comes with a lot of line breaks. I´ve tried to remove them using \n and \r but it doesnt work. Any ideas?
Amure Pinho