views:

212

answers:

2

I have a label in a custom cell with 3 labels in a table view. I am trying to display a text message "Updated status one of user" in one of the labels, but it displays only "Updated status" and truncates the rest of the message. What can I tweek to display the whole message in a line or spill it to a second line is necessary? Appreciate your suggestions.

+3  A: 

Well, set the number of lines of your label to 0, and set its lineBreakMode to UILineBreakModeWordWrap if you want the text to wrap to more lines if it doesn't fit. Else, try increasing the width of your label.

luvieere
Thanks for reply..its worked perfectly!
Iya
A: 

You can try to use UILabel's adjustsFontSizeToFitWidth property for that.

Vladimir