Reputation: 776
I have a launch screen with a image at bottom right corner. Constraints are as follows:
UIImageView
must be one fourth of superview.and also mode for imageview
is set to Aspect Fit
.
What should be the height constraint, so that the image
in the UIImageView
is bottom aligned for all devices and all orientations.
In the screenshots, the image
is not bottom aligned, although the imageview
is.
Upvotes: 0
Views: 817
Reputation: 776
So the solution to my problem is Aspect Ratio
constraint, with all the constraints in question.
Upvotes: 2