AutoLayout Practice

The first one is Travel App Concept Sketch Resource from Sketch app sources. It takes a lot of time to do this but the practice helps and maybe it would be good for me to collaborate with the designer in the future.

The layout was editing in the iphone 7 and works perfectly in every other devices(iphone 4S, SE, 7 Plus) . The key is try to relate objects together instead of object only to superview.

The third one is a practice from Peter Pam App school. Using labels or buttons to divide the superview into 3 equal horizontal pieces and 5 vertical pieces and relate the real label you want to show on the screen at X: 1/3 screen Y: 2/5 screen. But I’m not sure if there is a better way to divide the view please leave the comments if you have the better answer.

--

--