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
Trust me it works every time.
There are a couple of ways to do it but below solution is the easiest and always works