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 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 Displaying Shortcut Information in a Siri Watch Face Card.

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

Inherits From

NSObject

Conforms To

CVarArg CustomDebugStringConvertible CustomStringConvertible Equatable Hashable NSCoding NSCopying NSObjectProtocol NSSecureCoding