<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIScrollView/touchesShouldBegin(_:with:in:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIScrollView(im)touchesShouldBegin:withEvent:inContentView:"
  },
  "title" : "touchesShouldBegin(_:with:in:)"
}
-->

# touchesShouldBegin(_:with:in:)

Overridden by subclasses to customize the default behavior when a finger touches down in displayed content.

```
func touchesShouldBegin(_ touches: Set<UITouch>, with event: UIEvent?, in view: UIView) -> Bool
```

## Parameters

`touches`

A set of [`UITouch`](/documentation/UIKit/UITouch) instances that represent the touches for the starting phase of the event represented by `event`.

`event`

An object representing the event to which the touch objects in `touches` belong.

`view`

The subview in the content where the touch-down gesture occurred.

## Return Value

Return <doc://com.apple.documentation/documentation/Swift/false> if you don’t want the scroll view to send event messages to `view`. If you want `view` to receive those messages, return <doc://com.apple.documentation/documentation/Swift/true> (the default).

## Discussion

The default behavior of [`UIScrollView`](/documentation/UIKit/UIScrollView) is to invoke the [`UIResponder`](/documentation/UIKit/UIResponder) event-handling methods of the target subview that the touches occur in.

---

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)