**Using auto layout I am trying to create two buttons on the bottom like this** 

![enter image description here](https://i.stack.imgur.com/VrzqQ.png)

**After dragging two buttons I set constraints like this**

![enter image description here](https://i.stack.imgur.com/iHU1C.png)

**On `Back button` I set `Leading Space to Container Margin` and `Bottom Space to Bottom Layout Guide`**

**On `Go To Settings button` I set `Trailing Space to Container Margin` and `Bottom Space to Bottom Layout Guide`**

**Then I `ctrl+Drag` from `Back button` to `Go To Settings button` and set the `Equal Widths` constraint and I get this.**

![enter image description here](https://i.stack.imgur.com/Ifrky.png)

**Then I update the `Back button` width same as `Go To Settings button` which is `101` and all constraints turn to blue.**

**But I want both buttons to cover half of the screen no matter what the size of screen is, same as shown in first screen shot, How to accomplish this?**