How make UILabel with autoresizingMask in a custom cell?

Posted by Peter Pajchl on Stack Overflow See other posts from Stack Overflow or by Peter Pajchl
Published on 2010-06-06T16:47:42Z Indexed on 2010/06/06 16:52 UTC
Read the original article Hit count: 487

I have a custom uitableviewcell with several labels and I would like for some of them to autoresize their frame (width) based on the content (text). I am not sure how to accomplish that. I tried to set fixed frame of the label and after apply autoresizingMask, but that doesn't do the trick. Any *pointer to a sample?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk