title: Trouble left-aligning UIButton title (iOS/Swift)
body: <p>I'm having a problem left-aligning a <code>UIButton</code>'s text. I also tried changing it to <code>.Right</code> but it still stays centered. I also tried <code>aButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 20, bottom: 0, right: 0)</code> instead of <code>aButton.titleLabel?.textAlignment = .Left</code> but that doesn't change anything either. Is there an alternative way to programmatically change the alignment of a <code>UIButton</code> title's?</p>
  
  <pre><code>        allButtonViews = UIView(frame: CGRectMake(0, 44, 100, 100))
          allButtonViews.backgroundColor = .redColor()
  
          let campusButton = UIButton(type: UIButtonType.System) as UIButton
          aButton.frame = CGRectMake(0, 0, 300, 70)
          aButton.setTitle("A", forState: .Normal)
          aButton.titleLabel?.textColor = .blueColor()
          aButton.titleLabel?.textAlignment = .Left
          aButton.backgroundColor = .whiteColor()
  
          sortView.addSubview(aButton)
          view.addSubview(allButtonViews)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/bAJ5W.png" rel="noreferrer"><img src="https://i.stack.imgur.com/bAJ5W.png" alt="enter image description here"></a></p>