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 -

Python Tornado package error when running server -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -