Quote:
Originally Posted by john855
I tried that, and now I have to specify the height of the label. I can get it to wrap but only to the height of the label. I am giving up and figuring something else out.
Hard to believe something so simple can be so difficult, I must be missing something. I am just trying to put some text in a single grouped table view cell!
|
The idea is to use the same sizeWithFont method described earlier in this thread to calculate the height that the label would need to be to show all of the text. This calculated height is what you put in for the label's height value.