Hi all,
I want to calculate my custom cell height with multiple subviews like labels, imageViews, buttons etc.
How do I calculate this cell size?
It seems it's not recommended to do it in cellForRowAtIndxPath, also taking an instance of Cell in heightForRowAtIndexPath, it goes in infinite loop.
I'm able to calculate the height for cell in the custom cell class but I'm not sure wheather where should I return it.
Since the method, heightForRowAtIndexPath doesn't get a cell instance, how to tell this method the type of cell for which I want to render the calculated height?
Any help is appreciated.
Thanx in advance.