Swift changing button height depending on screen size
<p>So I have a button/image, and I want to get higher/smaller when viewing on iPad or a smaller iPhone.</p>

<p>In Xcode >7 I could put my items inside W/all H/all, then I could put constraint in compact width/any height if I wanted it to be in iPhone portrait. But in Xcode 8 its a whole new system and I don't know how to do it now, so I want to change my height of the button depending on the size of the screen, how to do that?</p>

<p>I've tried to search around on the net, and find something with make a constraint outlet. Could that work if I have autolayout on?</p>