Actually for the Gallery example, one can still use Size classes, because we can just build views and make the width half the superview’s width, and let the 2* height = superview.height - stausbarheight, we can add these constraints, I tried, one can make the Gallery work on different size of iPads/iPhones.