I am changing the cell height with regard to available image height of different data and updating the constraints of the cell of UITableViewCell.
I have a number of pages in my app which is same as friends in Facebook and each page includes 1 or more feeds.
Now, the problem is that when I am selecting a number of pages to send the data on UITableViewCell, it is not reflecting the updated cell height. It is taking a default value.
But, on the other hand, when I am selecting a single page to send the data, it is coming updated.
Although, the calculated cell height for both the cases is coming same. (Checked by debugging and printing the log).
I am using this code to update the Image height constraints.
[cell.userImage updateConstraints];
[cell layoutIfNeeded];
Please suggest any solution