<!--
{
  "availability" : [
    "macOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSScrollView/maximumNumberOfTouchesForScrolling",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSScrollView(py)maximumNumberOfTouchesForScrolling"
  },
  "title" : "maximumNumberOfTouchesForScrolling"
}
-->

# maximumNumberOfTouchesForScrolling

The maximum number of touches needed for scrolling

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

## Discussion

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

---

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)