tags | languages |
---|---|
autolayout, intro, views |
objc |
- Check out the screenshots below, your goal is to recreate them.
- Two Buttons, The left button is 10 pts from the left, the right is 10 pts from the right. Both are 10 pts from the bottom.
- One
UITextView
that is 20 pts from the top, 10 pts from the left, 10 pts from the right, and 20 pts from the top of theUIButton
s.
- In portrait mode, make the padding between the
UIButton
and theUITextField
to be 20 pts. In landscape, make it 10 pts. You'll have to listen for the rotate event! - On a 4 inch phone, also make the padding between the
UIButton
and theUITextField
to be 30 pts.