<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSUserActivity/shortcutAvailability",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSUserActivity(py)shortcutAvailability"
  },
  "title" : "shortcutAvailability"
}
-->

# shortcutAvailability

A set of defined contexts in which an intent or activity might be relevant to a user.

```
var shortcutAvailability: INShortcutAvailabilityOptions { get set }
```

## Discussion

When you donate an activity, include a set of relevant <doc://com.apple.documentation/documentation/Intents/INShortcutAvailabilityOptions> to describe appropriate categories for offering a shortcut to the activity.

If none of the availability options apply to your intent, use the empty set. The empty set is the default value for this property.

> Note:
> To access the `suggestedInvocationPhrase` property, import the Intents framework.

---

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)