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

angular - DownloadURL return null in below code -

python 2.7 - Given three nested dictionaries, sort the top two nested dictionaries from a value in the innermost dictionary? -