UIRotationGestureRecognizer

extension UIRotationGestureRecognizer
  • A convenience initializer for a UIRotationGestureRecognizer so that it can be configured with a single line of code.

    Declaration

    Swift

    public convenience init(handler: @escaping (_ gesture: UIRotationGestureRecognizer) -> Void)

    Parameters

    handler

    The closure that is called when the gesture is recognized