what's app intent?
Generated on 7/31/2024
1 search
An app intent is a way to define specific tasks that your app can perform, which can be used in various system experiences like Shortcuts. An app intent consists of a summary of what it does, which starts with the app followed by a verb, and includes the parameters that people need to fill out before the intent is run. App intents can be combined with other intents into shortcuts to create powerful new flows that they could not do alone.
Here are some key points about app intents:
-
Functionality: App intents should represent tasks that your app can perform, and they should be flexible and readable across many configurations and use cases. In iOS 18, the guidance has expanded to include more than just the most habitual tasks in your app. Now, anything your app does can be an app intent.
-
Parameters: App intents contain parameter summaries, which are essential for people to understand what your app intent does when exploring in the shortcuts drawer. Parameters should be structured to maintain readability and flexibility.
-
Opening Apps: In iOS 18, opening your app as part of an app intent is now a common behavior to show people that the intent has made a change in the app. This can be toggled off if the intent is part of a shortcut that does several things.
-
Design Guidance: Avoid making several different intents for the same task. Instead, structure your app's functionality into a flexible intent where the specifics are contained in the parameters.
For more detailed guidance, you can refer to the session Design App Intents for system experiences and Bring your app’s core features to users with App Intents.
Relevant Sessions
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.