When I set a constraints on vertical buttons, the height of vertical buttons are dynamically changed according to screen size. What am I doing wrong ?
Preview for different iphone screen
Constraints for top blue button is :
Trailing space to : superview is : 10
Top space to : top layout is : 146
bottom space to : green button is : 45
equal width to : green,brown,dark pink
equal height to : green button,brown button, pink button
Green button constraints are :-
trailing space to : superview : 10
leading space to : pink button is : 35
algin center Y to : Dark Pink
Bottom space to : brown button is : 53
top space to : blue button is : 45
equal width to : blue button
equal height to : blue button
Brown button constraints are :-
Trailing space to : superview is : 10
bottom space to : bottom layout is : 56
top space to : green button is : 53
equal width to : blue button
equal height to : blue button
pink button constraints are :-
leading space to superview is : 5.0
trailing space to : green button is : 35
align center Y to : Green button
equal width to : blue button
equal height to : blue button
