Look at the image. (Run on iPhone6 Plus)
I want every image has same width and height and with same space on both sides.
What I have done is
- set the Leading space to 11
- every button have space >=6
- Trailing space to 11
- every button has a ratio 1:1 THEN it works as the image like
What I have found is(maybe incorrect)
- It's impossible to set a WEIGHT to views (LIKE LeanearLayout on Android)
- It's impossible to set a flexible space width for many buttons on the same line by auto-layout
These make me can't do what I want to.
I don't want the final answer is calculating the spacing and size rather than auto-layout -_-||
Does anyone can solve it by auto-layout?