title: Swift + UIView: How to change y coordinates?
body: <p>I have a UIView called <code>descriptionView</code> and I want to hide it initially when the screen first loads by offsetting the y coordinate to be the screen size + the height of <code>descriptionView</code> itself:</p>
  
  <p><a href="https://i.stack.imgur.com/fENvj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fENvj.png" alt="enter image description here"></a></p>
  
  <p>However, in my controller, none of my frame changes do anything:</p>
  
  <pre><code>  override func viewDidLoad() {
      super.viewDidLoad()
      ...
  //    descriptionView.frame.origin.y =  self.view.frame.height
  //    UIView.animateWithDuration(1, animations: {
  //      self.descriptionView.frame.origin.y =  self.view.frame.height
  //      self.view.layoutIfNeeded()
  //    })
  //    
      print("xxx")
      descriptionView.frame = CGRectMake(0, self.view.frame.height, self.view.frame.width, 66)
  //    descriptionView.frame = CGRectOffset(descriptionView.frame, 0, descriptionView.frame.height)
    }
  </code></pre>
  
  <p>No matter what I do it seems fixed at that visible position like in my storyboard. Can someone help?</p>