ios - How to occupy the app bottom with an image? -


in xcode have placed 2 buttons @ top , 1 image (in aspect fill mode) @ bottom:

screenshot 1

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:

screenshot

you need set aspect ratio constraint image xcode knows how large be


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -