<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 9.0.0 - 11.0.0",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIScrollView/directionalPressGestureRecognizer",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIScrollView(py)directionalPressGestureRecognizer"
  },
  "title" : "directionalPressGestureRecognizer"
}
-->

# directionalPressGestureRecognizer

The underlying gesture recognizer for directional button presses.

```
var directionalPressGestureRecognizer: UIGestureRecognizer { get }
```

## Discussion

The [`directionalPressGestureRecognizer`](/documentation/UIKit/UIScrollView/directionalPressGestureRecognizer) is disabled by default. If you want to perform scrolling in direct response to up, down, left, and right arrow button presses, instead of scrolling indirectly in response to focus updates, enable this gesture recognizer.

---

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)