xcode - iOS Storyboard Layout - Constraint Query -
xcode - iOS Storyboard Layout - Constraint Query -
i've been playing around universal design in xcode , quite it.
while playing can't seem work out how equal spacing between items.
in above image have 3 x reddish bars as spaced within lite bluish view.
the best can set middle reddish bar in centre of lite bluish view , prepare distance between other reddish bars.
is there other way space them out?
for illustration when have uitoolbar can place of items in toolbar , utilize flexible spaces as distribute items.
hope makes sense.
you along lines of: place first bar in center, , have 2 clear uiviews filling space on top , below middle bar. , top , bottom bars centered on clear uiviews (vertically centered in container).
you similar need toolbars. i.e. place 5 clear views between , outside of 3 bars care about, , set them equal height. forcefulness 3 bars spaced evenly.
ios xcode layout storyboard universal
Comments
Post a Comment