Xcode auto layout buttons not resizing -
i have looked @ many tutorials , can't seem buttons resize , layout using xcode 6 auto layout. tutorials make sense use views examples. trying build universal soundboard app buttons arranged in attached picture. tried putting buttons in 1 view container still no luck. missing? much
- select
buttonwant constraint on, , command click it's parentview. - next, select add new constraint (at bottom of xcode), click "equal widths", click add constraint.

- select object.
- double-click on constraint rectangle (not obvious! "edit" takes somewhere else)

- then @ right hand side of xcode attribute inspector should come up:

- at multiplier property can make ratio or decimal of percentage value want. if want
button1 fourth of it's parentview, set multiplier 1:4.
this might not ideal answer, it's best can offer. hope helps!! luck!
Comments
Post a Comment