ios - Size-classes and constraints with buttons -


i hope can here i've been reading , watching lot size classes i've started work on first app using size classes.i thought i'd got idea having slight issue.

i've got view 10 buttons in it. want buttons re-size fill desired screen can see screenshot below i'm left loads of white space on bigger views?

i've set constraints view , each other though aspect ratio should solve it....no, them 1 huge buttons , rest stay same!

i've researched lot guidance appreciated.

please see image of issue.

enter image description here

thanks

  1. pin top of top button superview.
  2. pin bottom of bottom button superview.
  3. assign fixed vertical space between each button.
  4. select buttons , specify "equal height."

this should take care of vertical constraints, , button heights equally expand or contract, depending on screen height.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -