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

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -