Creating a percentage based iOS layout
Using Xcode 6.0, you can now specify proportional width or height in Interface Builder. Steps for percentage height from superview: While both the child view and its superview are selected, add an “equal height” constraint (or “equal width” if you wish to have a proportional width). Then change the “multiplier” of the constraint you just … Read more