Welcome to the Treehouse Community
Looking to learn something new?
Ismael Barry3,328 Points
How come Pasan decides to add an aspect ratio constraint to the image views? What is its significance? At run time, how will this affect images on multiple devices screens with different resolutions? How does adding this constraint affect the aspect fit mode that we added to the image view?
Adding the Aspect Ratio Constraint declares a proportional relationship between the width and height of the ImageView. So, Pasan adds this constraint so the ImageView will have the same proportions no matter what device the app is run on.