Explain the difference between Siri Intents and App Intents.
Generated on 8/11/2024
1 search
Siri Intents and App Intents are two frameworks used to integrate apps with Siri and other system features, but they serve different purposes and have distinct characteristics:
-
Siri Intents (SiriKit):
- Introduced with iOS 10, Siri Intents are part of the SiriKit framework.
- They allow developers to use predefined intents provided by the system to enable actions that users commonly ask Siri to perform, such as playing music or sending a text message.
- SiriKit is organized into domains, and if your app's functionality fits within an existing SiriKit domain, it is the best way to enable those features with Siri.
-
App Intents:
- Introduced with iOS 16, App Intents is a newer framework designed to integrate apps with Siri, Shortcuts, Spotlight, and other system experiences.
- App Intents allow developers to define a set of actions and content from their app that can be surfaced outside the app, making them accessible through various system features.
- Unlike Siri Intents, App Intents are not limited to predefined domains, making them suitable for apps that do not overlap with existing SiriKit domains.
- App Intents provide a common foundation for building features that can be shared across different system features, allowing for code reuse and consistent behavior.
In summary, if your app's functionality aligns with an existing SiriKit domain, Siri Intents are the appropriate choice. However, if your app's features do not fit within these domains, App Intents offer a flexible framework to expose your app's core features to Siri and other system experiences. For more details, you can refer to the session Bring your app to Siri (00:59).
Design App Intents for system experiences
App Intents power system experiences in controls, Spotlight, Siri, and more. Find out how to identify the functionality that’s best for App Intents, and how to use parameters to make these intents flexible. Learn how to use App Intents to allow people to take action outside your app, and see examples of when to navigate into your app to show contextual information.
Bring your app’s core features to users with App Intents
Learn the principles of the App Intents framework, like intents, entities, and queries, and how you can harness them to expose your app’s most important functionality right where people need it most. Find out how to build deep integration between your app and the many system features built on top of App Intents, including Siri, controls and widgets, Apple Pencil, Shortcuts, the Action button, and more. Get tips on how to build your App Intents integrations efficiently to create the best experiences in every surface while still sharing code and core functionality.
Platforms State of the Union
Discover the newest advancements on Apple platforms.
Bring your app to Siri
Learn how to use App Intents to expose your app’s functionality to Siri. Understand which intents are already available for your use, and how to create custom intents to integrate actions from your app into the system. We’ll also cover what metadata to provide, making your entities searchable via Spotlight, annotating onscreen references, and much more.