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

# isEligibleForPrediction

A Boolean value that determines whether Siri can suggest the activity as a shortcut.

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

## Discussion

If you aren’t yet using App Intents, set the value of this property to `true` if you want the system
to suggest the activity as a shortcut. When the activity object is current, or associated with a view
or responder in your app’s interface, the system includes the shortcut in places like Spotlight search
and the Lock Screen. Set this property to `false` if you’re already donating App Intents to the
system or want to prevent the generation of shortcuts for the activity. The default value of this
property is `false`.

For information on how to generate shortcuts using SiriKit and activity objects, see
<doc://com.apple.documentation/documentation/SiriKit/donating-shortcuts>.

---

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)