I have two UIImageView and one UITextView. I want to align second image view bottom as below. How to get this?
Asked
Active
Viewed 3,923 times
1
-
1You can try to set `contentMode` == bottom of second image view. – pkc456 Mar 16 '18 at 10:12
-
A possible solution: Instead of having a single UIImageView, put them into a UIView that will have the whole height, and configure the constraint of the UIImageView to be either on top or on bottom. But contentMode may work too (depends on the UIImage size and the UIImageView size) – Larme Mar 16 '18 at 10:16
-
Stack view pointless and in your way in this situation. – matt Mar 17 '18 at 16:35