Reputation: 2783
I'm trying to follow the Autolayouts tutorial here and configured my View to have all the constraints from the tutorial yet, my actual view, when rendered, looks like crap.
Constraints:
Rendered View, Portrait:
Rendered View, Landscape:
What am I missing? I have used UIImageViews instead of UIViews because in XCode 6 I havent found a way to set the background color on a view. But that's a whole another question.
Upvotes: 0
Views: 571
Reputation: 14383
There should be a vertical constraint between the upper cat UIImageViews and the bottom UIImageView.You missed it. so they are stretched to screen height in the vertical.
Upvotes: 1