I have a simple login screen. It looks fine on the 4-inch screen.
But when I run it in the 3.5-inch screen, as you can see the bottom part gets cut off.
I have Auto Layout turned on and below are the constraints that are set.
If I may explain a little further, I have 4 UITextFields. The first one(User ID) is aligned as Center Y alignment. And each UITextField below each other has Vertical Space constraint set. For the Button also, The Vertical Space is set with the UITextField above(Server). I understand that's the constraint that's causing the problem. But say if I remove that and add a Bottom Space to SuperView constraint instead, the button's gonna overlap the last UITextField.
I've gone through both parts of the tutorial on Auto Layout here on RW. I still have no idea how to correct this. How can I make this layout appear correctly in both screen sizes?
Thank you.