I am getting data from json server asynchronously and I am putting them in my table view cells.I am trying to make the cell height on dynamic basis depending upon the text content. I have found about it on internet but everywhere its given the same code , using -
(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
I am not getting how to implement this.Please guide me.
In this method, calculate the height of images, text being used in each row and return the height as a float value.
For eg: