This is really useful, and I got my cell height correct - but I need to make the label height the correct size too otherwise it won't show anything but the first row. The frame of my label is set to CGRectMake(75.0, 12.0, 200.0, 25.0) which works but it's only high enough to show the first row. If I make the label height larger than 25.0 it tries to center the text vertically in the label so labels that actually only have 1 row don't show the text, and the white space continues under the label. How can I tell the label frame to grow?
My frame is set in the layout subviews call of my cell subclass so I don't have access at that point to the text in the cell, so I can't just calculate the height of the text at that point.
|