I have a UITableView
with custom cells. I need to display Title, Address, Zip, Phone, Email, Website and Description in a Cell. All this information is coming from webserver. I am able to display the contents from the webserver. However, if any of the content is empty, there is a gap where that content should be, and if description is too long I am not able to display all the content. How can I change the height of cell according to the content from server? Please help.
For example : the contents is printing like: Title Address Zip Phone...
but, if Address is nil then it looks like: Title
Zip Phone...
I have the tableview:heightForRowAtIndexPath
method but I am not able to update the cell height according to the cell contents.
Sorry for bad question format