title: Swift 3 -Flip entire screen/view On Orientation change
body: <p>I need to a way to constantly monitor if the user has rotated the iPad.  </p>
  
  <pre><code>UserDidRotate() {
  
      if(orientation = portrait.upsideDown){
  
          //
          //Code that will Present View upside down...
          //
      }
          else if(orientation = portrait){
  
          //
          //Code that will Present View right side up...
          //
      }
  }
  </code></pre>
  
  <p>How can I check for orientation change and also manually present the view upside down for my Swift 3 app?</p>
  
  <p>EDIT:</p>
  
  <p>I have tried:</p>
  
  <pre><code>override func viewWillTransition(to size: CGSize, with coordinator: 
  UIViewControllerTransitionCoordinator){} 
  </code></pre>
  
  <p>and that method is never hit.</p>