title: Programmatically set position of Swift element
body: <p>I have a label defined in Storyboard and I'm trying to change its position based programatically.  There are some existing questions on SO already that seem to address this issue, but none of the solutions seem to work (i.e., the label doesn't move).  I've removed all existing constraints on the label to no avail.  I've tried:</p>
  
  <pre><code>class LandingViewController: UIViewController {
  
      @IBOutlet weak var titleLabel: UILabel!
  
      override func viewDidLoad() {
          super.viewDidLoad()
          titleLabel.frame = CGRectMake(100, 25, titleLabel.frame.size.width, titleLabel.frame.size.height)
          }
  </code></pre>
  
  <p>I also tried</p>
  
  <p><code>titleLabel.center = CGPointMake(120, 150)</code></p>
  
  <p>instead of <code>titleLabel.frame</code></p>
  
  <p>Am I missing something?</p>