Q:

iPhone autolayout confusion

I want to put 2 UIButtons next to one another as per the screenshot below.  Also shown are the constraints settings for the first UIButton.

Those UIButton should scale up or down to suit iPhone 5, 6 or 6 plus.  But below is what I see on iPhone 5.

Where have i missed the constraint to add?

A:

You can click the horizontal line and mark it as dark red which means the button should expand in that direction in case of the width increases

