@pcmofo, All you need to do is implement heightForRowAtIndexPath like I showed earlier in the thread. You'll need to modify the width in that code to adjust the fudge factor.
If your cell is so simple that you don't add any subviews then there's no need to do anything else.
In the case where you've added a Label and you're adding your text to the label you also, in most cases, won't need to do anything else. UILabel can be configured to adjust its own height based on the text that's added to it, and you should also set the autoResizingMask to flexibleWidth and height. That way the height of the label will be automatically adjusted when the height of the row is specified by your code.
|