1

I have two UIImageView and one UITextView. I want to align second image view bottom as below. How to get this?

enter image description here

Aleksandr Honcharov
  • 2,343
  • 17
  • 30
dobiho
  • 1,025
  • 1
  • 11
  • 22
  • 1
    You 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

1 Answers1

4

There you go...

enter image description here

Structure:

enter image description here

Stackview setup: (Inner Stackview)

enter image description here

(Outer stackview)

enter image description here

Constraints:

enter image description here

Farhan Arshad
  • 375
  • 3
  • 9