relevanceProviders

relevanceProviders

relevanceProviders Instance Property of INRelevantShortcut Additional relevance information attached to the shortcut.

var relevanceProviders: [INRelevanceProvider] { get set }

Discussion

To attach relevance information to the shortcut, like a daily routine or location, set this property to an array of INRelevanceProvider objects. The system uses this relevance information to suggest widgets on a Smart Stack, or offer shortcuts on the Siri watch face. If you provide an empty array, the system relies on other relevance cues like user interactions to determine what widget to suggest or shortcut to offer.