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

# usesPredominantAxisScrolling

A Boolean that indicates whether the scroll view uses a predominant scrolling axis for content.

```
var usesPredominantAxisScrolling: Bool { get set }
```

## Discussion

Some content is scrollable in both the horizontal and vertical axes, but is predominantly scrolled one axis at a time. Other content (such as a drawing canvas) should scroll freely in both axes.

Traditionally this is not an issue with scroll wheels since they can only scroll in one direction at a time. With scroll balls and touch surfaces, it becomes more difficult to determine the user’s intention.

This property helps a scroll view determine the user’s intention by specifying if there is a predominant scrolling axis for content.

When the value of this property is <doc://com.apple.documentation/documentation/Swift/true>, the scroll view uses a predominant scrolling access. The default value of this property is <doc://com.apple.documentation/documentation/Swift/true>.

---

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)