title: Control event for UISlider when end tracking
body: <p>I have a video player slider, I want to track event when user has started sliding video player slider and ended sliding video player slider. Also, I am tracking what slider value have changed. When slider starts and its value get changed I am able to track it successfully. My problem is when sliding ends I am not able to track it. Which <code>UIControlEvent</code> should I use for sliderEndedTracking?</p>
  
  <p>I am using the following code:</p>
  
  <pre><code>// Slider actions for UIControlEvents
          playerSlider.addTarget(self, action: #selector(sliderBeganTracking(_:)),
              forControlEvents: UIControlEvents.TouchDown)
          playerSlider.addTarget(self, action: #selector(sliderEndedTracking(_:)),
              forControlEvents: UIControlEvents.TouchUpInside )
          playerSlider.addTarget(self, action: #selector(sliderEndedTracking(_:)),
              forControlEvents: UIControlEvents.TouchUpOutside)
          playerSlider.addTarget(self, action: #selector(sliderValueChanged(_:)),
              forControlEvents: UIControlEvents.ValueChanged)
  
  
  // Slider Actions:
          func sliderBeganTracking(slider: UISlider!) {
              Log.Debug("sliderBeganTracking")
          }
  
          func sliderEndedTracking(slider: UISlider!) {
              Log.Debug("sliderEndedTracking")
          }
  
          func sliderValueChanged(slider: UISlider!) {
              Log.Debug("sliderValueChanged")
          }
  </code></pre>