<!--
{
  "availability" : [
    "iOS: 17.5.0 -",
    "iPadOS: 17.5.0 -",
    "macCatalyst: 17.5.0 -",
    "macOS: 14.5.0 -",
    "visionOS: 26.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/PencilPreferredAction/runSystemShortcut",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI21PencilPreferredActionV17runSystemShortcutACvpZ"
  },
  "title" : "runSystemShortcut"
}
-->

# runSystemShortcut

An action that runs a system shortcut.

```
static let runSystemShortcut: PencilPreferredAction
```

## Discussion

If the user selects this as their preferred action to perform after
double-tapping or squeezing their Apple Pencil, your app will never be
notified when they do. Instead, you should only use this information to
remind the user about their preference in your app’s UI.

---

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)