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 -

What is happening when Matlab is starting a "parallel pool"? -

php - Cannot override Laravel Spark authentication with own implementation -