title: Swift 3: Get distance of button to bottom of screen
body: <p>I want to get the distance of a button to the bottom of the screen in Swift 3. </p>
  
  <p>I can see the correct value in the Storyboard when I look at the distance (alt key) but unfortunately I am not able to calculate it manually.</p>
  
  <p>The value I am looking for is the same as the constant in the "Vertical Spacing to Bottom Layout" constraint for the button.</p>
  
  <pre><code>view.frame.maxY - randomButton.frame.maxY
  </code></pre>
  
  <p>gave me a value way too high.</p>