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:
create constraint between view's top edge , superview's bottom edge. set constraint's constant zero, , set multiplier 1:3. this:
Comments
Post a Comment