INDefaultCardTemplate

INDefaultCardTemplate

INDefaultCardTemplate Class of Intents A card template for customizing the Siri watch face for a shortcut.

class INDefaultCardTemplate

Overview

The Siri watch face displays a relevant shortcut using information from the INIntent or //com.apple.documentation/documentation/Foundation/NSUserActivity provided when creating the shortcut. If you want to provide watch specific information—for example, to display a shorter title—provide the relevant shortcut a default card template by setting the watchTemplate property. The template allows your app to set the title, subtitle, and image. For more information, see //com.apple.documentation/documentation/SiriKit/displaying shortcut information in a siri watch face card.

[A screenshot of the Siri watch face showing a custom default card template with callouts for image, title, and subtitle.]