title: Rotate UIButton 360 degrees
body: <p>I've been trying to run an animation that rotates my <code>UIButton</code> 360 degrees using this code:</p>
  
  <pre><code>UIView.animateWithDuration(3.0, animations: {
    self.vineTimeCapButton.transform = CGAffineTransformMakeRotation(CGFloat(M_PI*2))
    self.instagramTimeCapButton.transform = CGAffineTransformMakeRotation(CGFloat(M_PI*2))
  })
  </code></pre>
  
  <p>However, it doesn't rotate 360 degrees because the <code>UIButton</code> is already at that location.</p>
  
  <p>How can I rotate my UIButton 360 degrees?</p>