ios - How to use auto layout so my app fits all screen sizes in swift? -


i need buttons stay in same positions phones.

i want on iphones:

enter image description here

but when switch larger size phone this, looks ugly on smaller phones well:

enter image description here

that broad question, lot of ios ui depends on autolayout. suggest work through these tuts @ at least autolayout. screen shots, looks if have set width constraint on view green background instead of pinning leading, trailing, top, , bottom edges.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -