touches(for:)
Returns the touch objects from the event that belong to the specified given view.
Declaration
func touches(for view: UIView) -> Set<UITouch>?Parameters
- view:
The Uiview object in which the touches originally occurred.
Return Value
A set of UITouch objects representing the touches that belong to the specified view.