I came across a, what it seems like, simple auto layout task: display 3 items (all with the aspect ratio 1:1) above each other in portrait mode and next to each other in landscape mode.
I wasn't able to find constraints that fitted that layout... Is there a way to do it programmatically? How would you do it?

