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.
The view the gesture recognizer is attached to.
var view: UIView? { get }You attach (or add) a gesture recognizer to a UIView object using the addGestureRecognizer(_:) method.