I come from design. Using Auto layout to me is like trying to understand Klingon without any previous knowledge of that language. Auto layout defies all logic of good understanding.
I have this situation:
An image view that is 400x400 pixels to be shown portrait and landscape. This image has to be shown with the aspect ratio of 1:1 and adjust itself to be smaller when the device is landscape.
The "image editing" logic says I have to apply the following constraints:
>= 10 pt
Couple ways to go about this, but probably the easiest is:
Set Leading, Trailing, Top and Bottom constraints all to 10
Set the ImageView's
Content Mode to