---
title: canCancelContentTouches
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiscrollview/cancancelcontenttouches
---

# canCancelContentTouches

A Boolean value that controls whether touches in the content view always lead to tracking.

## Declaration

```swift
var canCancelContentTouches: Bool { get set }
```

## Discussion

Discussion If the value of this property is true and a view in the content has begun tracking a finger touching it, and if the user drags the finger enough to initiate a scroll, the view receives a touchesCancelled(_:with:) message and the scroll view handles the touch as a scroll. If the value of this property is false, the scroll view doesn’t scroll regardless of finger movement once the content view starts tracking.

## See Also

### Managing touches

- [touchesShouldBegin(_:with:in:)](uikit/uiscrollview/touchesshouldbegin(_:with:in:).md)
- [touchesShouldCancel(in:)](uikit/uiscrollview/touchesshouldcancel(in:).md)
- [delaysContentTouches](uikit/uiscrollview/delayscontenttouches.md)
- [directionalPressGestureRecognizer](uikit/uiscrollview/directionalpressgesturerecognizer.md)
