mardi 27 janvier 2015

Storyboard constraints across subviews don't work

I have two views on a UIViewController, each one holds a few textfields and labels. I want all the textfields to appear neatly aligned, so I made a constraint on the textfield next to the label "a", and made constraints for the textfields next to "Description" and "Prix", saying they should have the same "left" as the textfield next to "a". For some reason this is ignored when I run the app in the simulator.


What I want:



What I get:


enter image description here




Aucun commentaire:

Enregistrer un commentaire