title: UIView appears with wrong center position
body: <p>In the following function I define all the necessary characteristics of a UIView:</p>
  
  <pre><code>func OpenController() {
      var gameOverView: UIView = UIView()
  
      gameOverView.center = super.view.center
      gameOverView.frame.size = CGSize(width: 200, height: 300)
      gameOverView.backgroundColor = UIColor.grayColor()
  
      self.view.addSubview(gameOverView)
  }
  </code></pre>
  
  <p>Even though I define the center of the UIView "gameOverView" as that of the the viewcontroller it resides in, it appears with a corner in the center of the viewcontroller and not centered in the viewcontroller. I have tried various other ways of defining the position (NSLayoutConstraints, frame.x, frame.y etc.) but all have this result.</p>
  
  <p>If anyone can tell me why this happens and how to center the UIView within its parent view controller I would greatly appreciate it!</p>