AndroidDev
AndroidDev

Reputation: 21237

AutoLayout Difficulties

I am trying to layout a pretty simple screen. I have cleared out all warnings and errors and everything looks great on the storyboard. But when the screen draws, my UIImageView gets compressed vertically. I can't figure this out. Can anyone see what I am doing wrong or suggest what I should be looking at? Thanks!

enter image description here

enter image description here

Notice how the image is vertically compressed:

enter image description here

Upvotes: 0

Views: 67

Answers (1)

Sergey Demchenko
Sergey Demchenko

Reputation: 2954

It is because you didn't specify height constraint of the imageView.

Upvotes: 2

Related Questions