In Xcode 6 app I have placed 2 buttons at the top and 1 image (in Aspect Fill mode) at the bottom (here fullscreen):
All 3 elements are center-aligned.
For the buttons I have added 20 px constraints to the sides and top and they seem to be placed well now.
However I can not figure out, which constraints to use - to nail the image at the bottom and make it occupy the most space there.
I have tried the following:
- Center-aligned the image
- 20 px constraints to left, bottom and right
- More or equal to 20 px constraing to the above button
I don't understand the warnings displayed by the Interface Builder, please tell me what is missing there (here fullscreen):
Aucun commentaire:
Enregistrer un commentaire