---
title: maximumNumberOfTouchesForScrolling
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsscrollview/maximumnumberoftouchesforscrolling
---

# maximumNumberOfTouchesForScrolling

The maximum number of touches needed for scrolling

## Declaration

```swift
var maximumNumberOfTouchesForScrolling: Int { get set }
```

## Discussion

Discussion Set this property to 0 to require exactly minimumNumberOfTouchesForScrolling touches to recognize the gesture. Defaults to NSIntegerMax.
