title: AutoLayout - Not able to set UIImage Width as desired
body: <p>Following are the autolayout constraints I have added:</p>
  <p><a href="https://i.stack.imgur.com/V7Oea.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/V7Oea.png" alt="enter image description here" /></a></p>
  <p>And the final result is as follows:</p>
  <p><a href="https://i.stack.imgur.com/ArxsT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ArxsT.png" alt="enter image description here" /></a></p>
  <p>UIImage Content mode : Aspect Fit.</p>
  <p>Label content hugging priority vertical : 253 (rest all are default for both imageview and label)</p>
  <p>I have added a placeholder image until the image is actually downloaded. I have used 2 prototype cells in tableView - One with label. Another with Image and Label.</p>
  <p>What I want to achieve is set the width of UIImage to 50% of screen size and let the height be calculated automatically based on aspect ratio.</p>
  <p>cell.layoutSubviews also didnt help</p>
  <p>Any help is really appreciated. Would like to achive this via storyboard itself if thats possible.</p>
  <p>Thanks in advance</p>