iOS 6 Auto Layout and constraints


#1

Here is my solution to autoresizing Image View with iOS 6 Auto Layout feature. To display Image View correctly in both portrait and landscape orientations you need to add two vertical spaces in the bottom with “Less then or Equal” and “Greater then or Equal” relations.

List of all constraints


#2

Thank you! I was close but didn’t think to add a second vertical space constraint. Didn’t know I could even do that but it makes sense.