ios - How to apply auto layout to a group of items in Xcode? -
for example, add 1 label , 2 text fields main view. after that, want this group of items centered horizontally. is, center of group on center of superview. how achieve xcode or programmingly?
here steps 1. add subviews container
- add constraints inside container labels , textfields
- add width / height constraint container
- align horisontally
- constraints should
Comments
Post a Comment