views:

819

answers:

2

Is this possible? the effect I want is for the text to align so the left and right sides are straight. Similar to the style of a newspaper.

Thanks!

A: 

I may not be the most experienced iPhone developer but there is nothing in the UITextAlignment options that speak toward being able to fully justify text. But you have got me curious and I'll look into doing this aside from my recent Bing search for an example of how to do this. But if I'm not seeing it in the actual docs then doing this would probably be a hack and not something that would be reliable.

Liam
A: 

In UILabel there is a property called UITextAlignment. I think that you can use this. mj

mj_