title: How to programmatically set the position of a button in ios with Swift
body: <p>I'm currently doing something like this:</p>
  
  <pre><code>startButton.frame = CGRectMake(0, 0, startButton.frame.width, startButton.frame.height)
  </code></pre>
  
  <p>in <code>viewDidLoad</code>. However this seems to make no difference.</p>
  
  <p>What are the correct way of doing such thing?</p>