<!--
{
  "availability" : [
    "iOS: 3.2.0 -",
    "iPadOS: 3.2.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIEvent/touches(for:)-6krou",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIEvent(im)touchesForGestureRecognizer:"
  },
  "title" : "touches(for:)"
}
-->

# touches(for:)

Returns the touch objects that are being delivered to the specified gesture recognizer.

```
func touches(for gesture: UIGestureRecognizer) -> Set<UITouch>?
```

## Parameters

`gesture`

An instance of a subclass of the abstract base class UIGestureRecognizer. This gesture-recognizer object must be attached to a view to receive the touches hit-tested to that view and its subviews.

## Return Value

A set of [`UITouch`](/documentation/UIKit/UITouch) objects representing the touches being delivered to the specified gesture recognizer for the event represented by the receiver.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)