title: state began and ended not being triggered
body: <p>I'm trying to make a button for Taking pictures and recording videos. When a long press is made it will record and 1 tap will take a picture. when button is being pressed i want to transform it to create a effect. however the began and ended is not being triggered since it is not transforming?</p>
  
  <pre><code>func centerButtonPressedDown(sender: UITapGestureRecognizer) {
  
      if !pictureTaken {
          delegate?.didLongTapCameraButton()
  
  
      } else {
  
      }
  
  
  
  }
  
  func centerButtonClicked(sender: UITapGestureRecognizer) {
  
  
      if sender.state == .began {
          self.centerButton.transform = CGAffineTransform(scaleX: 0.9, y: 0.9)
      } else if sender.state == .ended {
          self.centerButton.transform = CGAffineTransform.identity
      }
  
  
  
  
  
  }
  </code></pre>
  
  <p><strong>CenterButton</strong></p>
  
  <pre><code>    let tapGesture = UITapGestureRecognizer(target: self, action: #selector(centerButtonClicked))  //Tap function will call when user tap on button
      let longGesture = UILongPressGestureRecognizer(target: self, action: #selector(centerButtonPressedDown))
      tapGesture.numberOfTapsRequired = 1
      centerButton.addGestureRecognizer(tapGesture)
      centerButton.addGestureRecognizer(longGesture)
  </code></pre>