title: Swift: How to make a view a fixed size no matter what size class
body: <p>I am trying to create a UIView with a fixed size of width: 200, Height: 100 to be centred at the bottom of my view controller using:</p>
  
  <pre><code>override func viewDidLayoutSubviews() {
      var 
      self.infoView.frame = CGRect(x: view.frame.minX, y: view.frame.maxY, width: 200, height: 100)
      super.viewDidLayoutSubviews()
  }
  </code></pre>
  
  <p>But this code is not having the desired result as the UiView size is changing on each screen size and is not centered.</p>
  
  <p>To be clear, I want infoView to be centred in the middle of all view controllers and a fixed size no matter what screen size is running it. Is this possible?</p>