-
Quoi de neuf dans Raccourcis
Découvrez des techniques pour créer des raccourcis puissants à partir du contenu de votre app. De nouvelles automatisations offrent des possibilités supplémentaires pour intégrer votre app au système. Optimisez la présentation de votre App Entity auprès des LLM à l'aide de la nouvelle fonctionnalité de transcription « Utiliser le modèle ». Stockez des informations riches de votre app dans des raccourcis synchronisés sur tous vos appareils. Découvrez comment combiner ces fonctionnalités pour créer des automatisations intelligentes et puissantes qui s'intègrent parfaitement au contenu et aux fonctionnalités de votre app.
Chapitres
- 0:01 - Introduction
- 0:57 - Automations
- 3:25 - Use Model
- 6:58 - Storage
Ressources
Vidéos connexes
WWDC25
-
Rechercher dans cette vidéo…
-
-
6:12 - Soup Entity Example
// MARK: - Soup Entity import AppIntents struct SoupEntity: AppEntity, Identifiable { static var typeDisplayRepresentation = TypeDisplayRepresentation( name: "Soup", numericFormat: "\(placeholder: .int) soups" ) static var defaultQuery = SoupEntityQuery() var id: Soup.ID @Property var name: String @Property(title: "Available Today") var isAvailableToday: Bool @Property(title: "Ingredients") var ingredients: String var displayRepresentation: DisplayRepresentation { DisplayRepresentation(title: "\(name)", subtitle: SoupStore.description(for: id)) } } -
10:05 - Soup Entity Example
// MARK: - Soup Entity import AppIntents struct SoupEntity: AppEntity, Identifiable { static var typeDisplayRepresentation = TypeDisplayRepresentation( name: "Soup", numericFormat: "\(placeholder: .int) soups" ) static var defaultQuery = SoupEntityQuery() var id: Soup.ID @Property var name: String @Property(title: "Available Today") var isAvailableToday: Bool @Property(title: "Ingredients") var ingredients: String var displayRepresentation: DisplayRepresentation { DisplayRepresentation(title: "\(name)", subtitle: SoupStore.description(for: id)) } }
-
-
- 0:01 - Introduction
Shortcuts lets people combine everyday app actions and surface them across the system - like through Siri, Control Center, and the Action Button. Explore three major enhancements to Shortcuts and how to leverage the content in your app to integrate with the system.
- 0:57 - Automations
In iOS 26, Automations are easier to discover in the Shortcuts editor. There are three new automation types - screenshot, keyboard connection, and notification. The notification automation enables fine-grained, keyword-filtered triggers based on notification content. Learn techniques to build notifications that integrate well with automations.
- 3:25 - Use Model
The Use Model action has access to the latest Apple Intelligence models with web retrieval. Use the model transcript inspector to evaluate the exact data that's passed to the model from your app's App Intent entities.
- 6:58 - Storage
Storage lets shortcuts persist data between runs using Get, Set, and global storage values that sync across all of someone's devices via iCloud. Use storage in powerful ways, like to give the Use Model action a "memory". For App Intent entities, use a stable, device-consistent identifier to ensure correct recognition across devices.