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 -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -