ios - How to occupy the app bottom with an image? -
in xcode have placed 2 buttons @ top , 1 image (in aspect fill mode) @ bottom:
all 3 elements center-aligned.
for buttons have added 20 px constraints sides , top , seem placed now.
however can not figure out, constraints use - nail image @ bottom , make occupy space there.
i have tried following:
- center-aligned image
- 20 px constraints left, bottom , right
- more or equal 20 px constraing above button
still warnings image placement displayed interface builder:
you need set aspect ratio constraint image xcode knows how large be
Comments
Post a Comment