The view the gesture recognizer is attached to.
SDKs
- iOS 3.2+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- UIKit
Declaration
var view: UIView? { get }
Discussion
You attach (or add) a gesture recognizer to a UIView
object using the add
method.
The view the gesture recognizer is attached to.
SDKs
Framework
var view: UIView? { get }
You attach (or add) a gesture recognizer to a UIView
object using the add
method.
var state: UIGesture Recognizer .State
The current state of the gesture recognizer.
var is Enabled: Bool
A Boolean property that indicates whether the gesture recognizer is enabled.