             getViewAngle(val)
             rotateMovingView()
             recalculate()
+            if #available(iOS 10, *) {
+                (hapticGenerator as? UISelectionFeedbackGenerator)?.selectionChanged()
+            }
             self.sendActions(for: UIControlEvents.valueChanged)
         }
         return super.continueTracking(touch, with: event)

                               toItem: self, attribute: .centerX, multiplier: 1, constant: 0),
            NSLayoutConstraint(item: movingView, attribute: .centerY, relatedBy: .equal,
                               toItem: self, attribute: .centerY, multiplier: 1, constant: 0)])
    }

    override open func layoutSubviews() {

    var selectedLayer: CALayer?
    var movingView: UIView!
    var angle: CGFloat = 0.0

    var hapticGenerator: NSObject?

    // MARK: - Initialization

