mardi 10 mars 2015

Constraints on buttons for iPhone 4 /5 /6 and 6plus


Vote count:

0




All, I have a row of 4 buttons horizontally on a Compact Hight and regular width layout in Xcode. I want these buttons to be equal widths across the screen on all platforms in portrait. I am having a lot of trouble getting the constraints to be correct.


I have set the top constraint to Top Leading edge (as there is a nav bar) I have leading and trailing space of the first and last button to superview. and i have set equal widths on all buttons.


When I inspect the sizes on each device it always looks wrong.. Any ideas ?



asked 1 min ago

Jason

113






Constraints on buttons for iPhone 4 /5 /6 and 6plus

Aucun commentaire:

Enregistrer un commentaire