<!--
{
  "availability" : [
    "macOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BundleResources",
  "identifier" : "/documentation/BundleResources/Information-Property-List/NSGestureRecognizerSuppressesMainMenuActions",
  "metadataVersion" : "0.1.0",
  "role" : "Property List Key",
  "symbol" : {
    "kind" : "Property List Key",
    "modules" : [
      "Bundle Resources"
    ],
    "preciseIdentifier" : "plist:Information_Property_List.NSGestureRecognizerSuppressesMainMenuActions"
  },
  "title" : "NSGestureRecognizerSuppressesMainMenuActions"
}
-->

# NSGestureRecognizerSuppressesMainMenuActions

A Boolean value that indicates whether keyboard shortcuts for menu items are ignored while any gesture recognizer is active.

## Discussion

Set this key to `YES` if your app uses gesture recognizers in contexts where accidental keyboard shortcuts would interfere with the gesture interaction.

AppKit always suppresses keyboard shortcuts during an exclusive gesture (one that locks input to a single view), so this key is only relevant if your app also triggers gestures that are not exclusive.

---

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)