presses(for:)
Returns the state of all physical buttons in the event that are associated with a particular gesture recognizer.
Declaration
func presses(for gesture: UIGestureRecognizer) -> Set<UIPress>Parameters
- gesture:
A gesture recognizer.
Return Value
The set of UIPress instances that participated in this event that are associated with the gesture recognizer.