title: iOS Layout - Whats the best solution?
body: <p>For an iOS app i am currently working on, I need to manage the controls displayed on the screen based on the type of device the app is running on.</p>
  
  <p>I will try to explain with a theoretical example (the actual numbers used below are not important, what interests me is best method to achieve the desired result).</p>
  
  <p>Example:</p>
  
  <p><img src="https://i.stack.imgur.com/PQcFc.png" alt="enter image description here">
  <img src="https://i.stack.imgur.com/QBzag.png" alt="enter image description here"></p>
  
  <p>In the case of the app in the screenshots, the button that overlaps the UIImageView should not be displayed at all OR displayed in another place on the screen.</p>
  
  <p>So far I've worked with autolayout , but , from what i could figure, there's no way to say to xcode something like: hey, for a class size "Compact Width / Compact Height" , I want you to hide these buttons...but show them for "Regular Width / Compact Height" .</p>
  
  <p>I also did some googling and saw some people talk about using different storyboards based on the device; I am also thinking, I could add/remove buttons dynamically based on the device type , but I think it's not so pleasant to have to add all of the constraints by hand (programatically that is).</p>
  
  <p>So to resume, I would appreciate a suggestion of a 'best' way to do this , best meaning a combination of 'not so hard' + ' not so long'. Also, some code example (or links) would be highly appreciated.</p>
  
  <p>Thank you all in advance !</p>