Quote:
Originally Posted by john855
I'm trying to do the simplest case of a non-customized cell with multiple text rows and can't get it to work.
I have implemented tableView:cellForRowAtIndexPath and heightForRowAtIndexPath: as suggested above, and tried setting the cell autoresizingmask, the autoresizing mask on the cells contentview, the line wrap mode, and everything else I can think of to no avail.
The box does seem to resize (I am in grouped mode with 1 cell and 1 group) but the text doesn't wrap. I am not using a custom label.
Help!
|
I had the same problem. You need to add:
Code:
[myLabel setNumberOfLines:0];
Which will allow the label to wrap to separate lines. Hope that helps.