I have a view like below image:
This is a cell in uitableview I use uitextview with exclusion path to make the text flows around the right view (the view with image & text at the bottom). Sometimes the text is short and the right view is longer, but sometimes otherwise. I'm not sure how to calculate the height of uitextview with exclusion path in order to compare with the right view and decide which height is used to set for the cell.
My cell is setup like this:
cell has 3 containers
container 1 is header which is a label
container 2 is the image above which contains a text view and on the right is a custom view with photo & text below it
container 3 can be images, text or empty
How should I setup autolayout for this? I'm using Swift 3 & autolayout