Streaming is available in most browsers,
and in the WWDC app.
-
What's new in SiriKit and Shortcuts
Get a quick overview of everything new in Siri and Shortcuts to help people get more out of your app: We'll demonstrate how you can design visually rich conversations, feel at home with the operating system by designing for the new compact Siri UI, and provide an overview of all the ways we've made it even easier for people to organize and set up actions from your apps.
Resources
- Adding Shortcuts for Wind Down
- Have a question? Ask with tag wwdc20-10068
- Providing Hands-Free App Control with Intents
- Search the forums for tag wwdc20-10068
- Soup Chef: Accelerating App Interactions with Shortcuts
Related Videos
WWDC 2020
- Add configuration and intelligence to your widgets
- Broaden your reach with Siri Event Suggestions
- Create quick interactions with Shortcuts on watchOS
- Decipher and deal with common Siri errors
- Design for intelligence: Apps, evolved
- Design for intelligence: Discover new opportunities
- Design for intelligence: Make friends with "The System"
- Design for intelligence: Meet people where they are
- Design high quality Siri media interactions
- Empower your intents
- Evaluate and optimize voice interaction for your app
- Expand your SiriKit Media Intents to more platforms
- Feature your actions in the Shortcuts app
- Integrate your app with Wind Down
- Meet WidgetKit
-
Download
Hello and welcome to WWDC.
Hello and welcome to "What's New in SiriKit and Shortcuts." My name is Daniel Hsu, and I'm an engineer on the Shortcuts team.
Today, I'm excited to be joined by my colleague, Natalia, to tell you about the latest updates to Shortcuts.
SiriKit is our suite of developer APIs for bringing enriched Siri and shortcut support into your app.
It's a great way to make the things people do with your apps easier to accomplish by surfacing them outside of the boundaries of your app and letting them out into the operating system.
This enables several key experiences.
Users can perform these actions with their voice, through suggestions that appear on the lock screen and Spotlight, and of course, through shortcuts and the Shortcuts app.
The Shortcuts app, which comes built in on iOS, iPadOS and watchOS, is how we make it easy for people to make using the device faster, more automatic, and more personal.
Using the editor, you can drag and drop easily to piece together actions from all of your favorite apps, which can then be run with just a single tap, by asking Siri, or from many other places in the system, like from a widget on the Home screen, or even automatically with automations.
There are practically endless possibilities for the kinds of shortcuts you can create and how you use them, from asking Siri to order your coffee, to changing the lights and temperature in your HomeKit-enabled home as you're leaving work. We're putting all the power in your hands. Getting started with shortcuts can be as simple as tapping an "Add to Siri" button, which you may have already seen in many of your favorite apps.
It's important for you as a developer to make setup easy and discoverable.
Make sure to include an "Add to Siri" button in a contextually relevant place, not just in a nested settings view.
That way, the people that perform those actions in your app every day can set up a shortcut that makes executing that action even faster in the future.
And, they can even give it their own personalized trigger phrase, like "soup time." Now that I have that set up, I can quickly reorder my favorite soup from anywhere on my phone.
Siri is an intelligent assistant that offers a faster, easier way to get things done with your voice.
And this year, in iOS 14, Siri comes with this beautiful, new, compact design.
We redesigned Siri from the ground up to focus only on the most essential information, minimizing disruption, while still allowing you to quickly get things done, no matter what you're doing on your phone. Your Siri UI should really feel like an extension, both functionally and aesthetically, of your app.
To illustrate, let's take a look at the Weather app.
Checking the weather in the Weather app is the complete experience. At a glance, you're able to see the weather for all of your favorite cities, and you can drill down into a specific city to see more details, like air quality, sunrise and sunset times, and much more.
In iOS 13, asking Siri for the weather shows you the current forecast, the upcoming hourly forecast, and a few other details.
Updating this experience for the compact UI in iOS 14 was an exercise in choosing the most essential things.
In the new compact UI, we focused on just the most succinct and helpful answer possible.
This meant eliminating things that weren't directly relevant.
But this doesn't mean minimalism for minimalism's sake. It's really about getting to the heart of what the user intention is. Now, in iOS 14, if you ask for the weather, you'll get exactly that.
In iOS 14, we brought the same great compact UI experience over to Shortcuts.
If your shortcut needs input from you, a new compact UI will appear.
This works for entering text, numbers, dates and more.
You can even compose messages and emails, pick a photo, or choose a song.
We also extended the same UI treatment everywhere you can run a shortcut. Before, you may have needed to jump into the Shortcuts app to complete a task. Now your shortcuts will run seamlessly in the background, and will only prompt you if the shortcut needs input from you.
This makes a lot of sense, because after all, shortcuts has always been about getting the user to what they want to do even faster. We want to help you understand how to apply this new design principle in your intents.
There are a few cases you should be aware of.
The first is disambiguation, when you're asking follow-up questions to clarify the user's intent.
The second is Intents UI, which is how your app UI shows in Siri and Shortcuts.
Let's talk about disambiguation.
With conversational shortcuts, you have the opportunity to ask follow-up questions.
If you're taking advantage of this for your intents, you should consider adopting the new APIs for customizing how the list is presented.
New in iOS 14, you have the option to add images and subtitles to your option list.
This can help people visually differentiate between similar options, which can be important, for example, when ordering soup.
But use these judiciously, and use your best judgment.
Imagery can help someone make the right choice, but it can also end up feeling overwhelming with too much information onscreen.
Now, let's talk about Intents UI.
Your Intents UI now appears in this new compact UI, whether you're running from Siri or Shortcuts.
When designing your Intents UI for this new environment, consider what your intent is supposed to do, and what is actually important to show when using it.
Because the compact UI appears on top of whatever the user is doing, the less vertical space your Intents UI takes up, the more lightweight the experience will feel.
Consider providing a shorter snippet where possible, to minimize disruption to the user's current context.
In order to help the snippet UI defer to the context it's being presented in, Intents UIs now use a consistent background material whether they're run from Siri or from Shortcuts.
If you'd like, you can take advantage of the new material

