guys:
I created table view cell with the cellForRowAtIndexPath delegation method, and now I want to load some photos into the cell and resize the height of the cell to fit those photos, so I think I should do this after the photos are all loaded so that I can get the height to resize the cell.
I know the height of a cell will be calculated within the heightForRowAtIndexPath delegation method, but the heightForRowAtIndexPath method seems to be call before cellForRowAtIndexPath?
so, is there any way to re-calculate the height to resize or re-create the cell after the photos are loaded?
thanks 🙂
The easiest way is reload the cell:
We do that in one of our apps, and it even animates nicely.