How can I add a constraint to fit the image view?

Pratima S
1 min readFeb 19, 2019

--

Trust me it works every time.

There are a couple of ways to do it but below solution is the easiest and always works

  • Set Leading, Trailing, Top and Bottom Constraints all to 10
  • Set the ImageView’s Content Mode to Aspect Fit

--

--

No responses yet