title: why can't change button height when set frame?
body: <p>I am testing a sample project with an button . And I write this , but it can't change the button's height .<br>
  What's wrong?</p>
  
  <pre><code>class ViewController: UIViewController {
  
  @IBOutlet var test: UIButton!
  
  override func loadView() {
      super.loadView()
  
      var newFrame = test.frame
      newFrame.size = CGSizeMake(newFrame.width, newFrame.height * 10)
      test.frame = newFrame
  }
  
  }
  </code></pre>
  
  <p>And get the same height I set .</p>