UIImageView fit to maximum width in self sizing tableview cells
<p>What auto layout constraints need to be set so that an image inside a tableview cell expands to the width borders of the cell as in Twitter app?</p>

<p>I can not get it done and wonder which constraints and settings are necessary.</p>

<p><a href="https://i.stack.imgur.com/V8GIP.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/V8GIP.jpg" alt="enter image description here"></a></p>