AutoLayout Practice

Vince Lee
Vince Lee
Aug 8, 2017 · 3 min read

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.

學習 Swift iOS App 開發的學生作品集

Vince Lee

Written by

Vince Lee

彼得潘的 Swift iOS App 開發教室
Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade