Contents

view

The view the gesture recognizer is attached to.

Declaration

var view: UIView? { get }

Discussion

You attach (or add) a gesture recognizer to a UIView object using the addGestureRecognizer(_:) method.

See Also

Getting the recognizer’s state and view