Search code examples
iosautolayoutconstraintsxcode8ios-autolayout

Constraints in Xcode 8


I'm trying to pin all labels and buttons using auto layout. But it seems to be impossible. I've tried almost everything (tutorials also - been there done that), and it still sucks. On every device (Iphone 7plus, 6) it looks much different, sometimes labels hide, or disappear. Please, help.

my labels:

  • log in/sign up
  • email address
  • password
  • skip

text field:

  • 2, under email address and password

background:

  • image view

enter image description here


Solution

  • I've created a storyboard with one view controller in it. it contains what should be the correct constraints.

    try using that view.

    https://drive.google.com/file/d/0B3ALyHCgvMCQMm1CQWJDdEw2S3M/view?usp=sharing