Friend,
it is difficult to give any hint from Autolayout... where there are several ways for you to arrive at a result.
An alternative would be you try to configure the layout from iPhone 4s, and let iOS and constraints adapt to the other Vices.
As follows:
once your layout "embedded" in the size of the iphone 4s, the rest will work.
As for the size of the buttons, try to use height based on the size of the screen... it is a bit "boring" but it is a very good solution. I have used several times. Just make for a button, and give an "Equal height" to the others.
Like this:
1 - Equals view height in question equals Superview view height
2 - Go to the Constraint you just created, and click edit:
3 - In the Multiplier attribute, you select the multiplier of this Constraint. The value works as a percentage. Being 0: zero percent; and 1: 100%. In my example I put 12% of the screen size, ie 0.12.
After that, you could leave the other button with the height equal to the button you just changed.
Anyway... that’s it. I hope it helps.
JLU.
Any chance you are using fixed height for the buttons and the screen is not tall enough to display all of them above each other at set height?
– Andreza Cristina da Silva
So I’ve always done the same way for Uiview, I’m guessing that’s right, I’m going to revisit that concept.
– Fabricio Aguiar
If that’s the problem, Voce can put the buttons in a stackview. Then she takes charge of distributing the buttons so that they fit on the screen
– Andreza Cristina da Silva
the best way I found it was, check the device, and I positioned and resized them in their place, it was the fastest gave right.
– Fabricio Aguiar