uibutton - What is the equivalent of Android's weightsum in iOS -


i have bunch of uibutton's want them equally distributed on screen screensizes. possible achieve without using autolayout? view fits on 640*960 screen, if larger there empty space in bottom. there equivalent of weightsum in ios? have attached 2 images shows how view looks on 640*960 (second image) , 640*1136 (first image) screen.

640*1136

640*960

i suggest choose auto layout kind of behaviour. in case pretty straightforward constraints set in ib. if prefer setting code, visual language.

also, me, bit of overkill, may use uicollectionview


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -