title: Why cant I rotate my imageview with one finger Swift?
body: <p>So Im making a DJ app and I have this turntable that I would like to spin to the left and right using touch. I got it to move when a song is being played but not sure how to get it to spin using touch.</p>
  
  <p>EDIT*******
  I got it to work but I need to rotate the imageview using one finger instead of two. How would I get that to work? Thank you</p>
  
  <pre><code>class ViewController: UIViewController, MPMediaPickerControllerDelegate {
  
      var angle: CGFloat = 0
      var rotate = UIRotationGestureRecognizer()
  
      override func viewDidLoad() {
          super.viewDidLoad()
  
          self.rotate = UIRotationGestureRecognizer(target: self, action: #selector(ViewController.rotate(_:)))
          self.leftTurnTable.addGestureRecognizer(self.rotate)
      }
  
      func rotate(r:UIRotationGestureRecognizer) {
  
          self.leftTurnTable.transform = CGAffineTransformMakeRotation(angle+r.rotation)
  
          if r.state == UIGestureRecognizerState.Ended {
  
              self.angle += r.rotation
          }
      }
  } 
  </code></pre>