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.
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
Post a Comment