Using auto layout I am trying to create two buttons on the bottom like this
you can done it using equal width to 2nd button like this
and the output is
Here is apple guide