ios - position a view in storyboard at 1/3 of screen size -


i'm trying position view in storyboard have top edge @ 1/3 of screen size. have set constraint top layout guide, constraint's constant is...well constant no matter screen size used in, want 1/3 of screen size. can done entirely in storyboard? answers

screenshot of current state:

enter image description here

create constraint between view's top edge , superview's bottom edge. set constraint's constant zero, , set multiplier 1:3. this:

enter image description here


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -