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

angular ui router - 10 digest iterations reached in angularjs when using $state.go -

symfony - InvalidConfigurationException in SecurityExtension.php line 429: No authentication listener registered for firewall "secured_area" -

javascript - Can Piwik report referrer in real time? -